blob: 621ed110d4f58a50da9d0b43d375846a473c6eee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* Copyright (c) 2025, 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"
|