aboutsummaryrefslogtreecommitdiff
path: root/src/parser/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/ast.c')
-rw-r--r--src/parser/ast.c3
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;