Cthulhu  0.2.10
Cthulhu compiler collection
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
driver.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-3.0-only
2 
3 #pragma once
4 
5 #include "notify/diagnostic.h" // IWYU pragma: export
6 
8 typedef struct compile_unit_t compile_unit_t;
9 typedef struct tree_t tree_t;
10 
11 #define NEW_EVENT(id, ...) CT_LOCAL extern const diagnostic_t kEvent_##id;
12 #include "oberon.inc"
13 
14 void obr_create(language_runtime_t *runtime, tree_t *root);
15 
void obr_create(language_runtime_t *runtime, tree_t *root)
Definition: sema.c:123
void obr_forward_decls(language_runtime_t *runtime, compile_unit_t *unit)
Definition: driver.c:20
void obr_process_imports(language_runtime_t *runtime, compile_unit_t *unit)
Definition: driver.c:80
Definition: tree.h:67