From f8c92cfa9eeb82a608d409cac70d9d2533ab79d8 Mon Sep 17 00:00:00 2001 From: Quentin LADEVIE Date: Tue, 29 Apr 2025 23:28:52 +0200 Subject: Compile files one by one --- src/parser.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/parser.c') diff --git a/src/parser.c b/src/parser.c index 5ec6b0d..86f9563 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1,3 +1,12 @@ +#include + +#include "types.h" +#include "utils.h" +#include "module.h" + +extern u8 expect_single_step; +extern DWORD continue_status; + enum TOKEN_TYPE { // Commands TOKEN_CONTINUE, @@ -183,6 +192,10 @@ u64 eval_number(const struct ast_node* node) { } void run(struct ast_node* root) { + extern DEBUG_EVENT dbg_event; + extern u8 process_commands; + extern u8 is_open; + struct ast_node cur_node = root[0]; CONTEXT ctx = { .ContextFlags = CONTEXT_ALL, -- cgit v1.3