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 /src/repl.c | |
parent | b8006ecd24830c849a989554b059bc452371e5b2 (diff) | |
download | imp-3369805cc122788edf2bd6d3d0cebef7c153d638.tar.gz imp-3369805cc122788edf2bd6d3d0cebef7c153d638.zip |
interpreter error propagation
Diffstat (limited to 'src/repl.c')
-rw-r--r-- | src/repl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ static void repl_exec_command(context_t context, char *command) { static void repl_exec_statement(context_t context, const char *statement) { if (!interp_str(context, statement)) context_print_var_table(context); + else fprintf(stderr, "Error interpreting statement: %s\n", statement); } void repl(void) { |