From 3e20038bbf7206e2270655418d7884ccfe91a4e4 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 31 Aug 2026 00:19:10 +0200 Subject: add directives and directive based entry points --- src/parser/ast.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/parser/ast.c') 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; -- cgit v1.3