From 3369805cc122788edf2bd6d3d0cebef7c153d638 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Thu, 22 May 2025 07:25:16 +0200 Subject: interpreter error propagation --- include/interpreter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/interpreter.h') diff --git a/include/interpreter.h b/include/interpreter.h index cb3ba75..b21e548 100644 --- a/include/interpreter.h +++ b/include/interpreter.h @@ -16,7 +16,7 @@ void context_set_var(context_t context, const char *name, int value); void context_print_var_table(context_t context); void context_print_proc_table(context_t context); -void interp_ast(context_t context, ASTNode *node); +int interp_ast(context_t context, ASTNode *node); int interp_file (context_t context, const char *path); int interp_str (context_t context, const char *str); -- cgit v1.2.3