blob: f7d3e2d48d82c3547f93ac7c8fae2a37ae5f9bfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2025-2026, Mel G. <mel@rnrd.eu>
*
* SPDX-License-Identifier: MPL-2.0
*/
#pragma once
// include all partial translation units, for correct language server behaviour
// despite the fact that single translation units are not yet supported.
// when included in the root of the translation unit, this will compile the whole project,
// however if included in a partial subunit, the `#pragma once` in the subunit will prevent
// multiple inclusions of the itself, only adding other files, thus allowing for an LSP like `clang`
// to find the definitions of all other functions and types in the project.
#include "common.c"
#include "lex.c"
#include "tree.c"
#include "parse.c"
#include "visit.c"
#include "transpile.c"
#include "build.c"
|