diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-22 07:25:16 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-22 07:25:16 +0200 |
commit | 3369805cc122788edf2bd6d3d0cebef7c153d638 (patch) | |
tree | 599b08b8ad8721354539163bed3ce9c3a270ca06 /include | |
parent | b8006ecd24830c849a989554b059bc452371e5b2 (diff) | |
download | imp-3369805cc122788edf2bd6d3d0cebef7c153d638.tar.gz imp-3369805cc122788edf2bd6d3d0cebef7c153d638.zip |
interpreter error propagation
Diffstat (limited to 'include')
-rw-r--r-- | include/interpreter.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |