diff options
| author | hachem <im@hachem.wtf> | 2026-08-31 00:19:10 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-31 00:19:10 +0200 |
| commit | 3e20038bbf7206e2270655418d7884ccfe91a4e4 (patch) | |
| tree | dfc7bf806a00c1dbec6c889351c108702a0e9d40 /src/parser/ast.c | |
| parent | 8eac30c13cfa4f47a8a0aa0772b96f0813fe33a5 (diff) | |
add directives and directive based entry points
Diffstat (limited to 'src/parser/ast.c')
| -rw-r--r-- | src/parser/ast.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser/ast.c b/src/parser/ast.c index 1aa1d38..96ee479 100644 --- a/src/parser/ast.c +++ b/src/parser/ast.c @@ -58,6 +58,9 @@ void free_proc(struct ProcDecl* proc) struct Program create_program(void) { struct Program program; + program.config.bits = 64; + program.config.has_entry = false; + program.config.logical_registers = false; program.consts = NULL; program.const_count = 0; program.const_capacity = 0; |
