diff options
Diffstat (limited to 'src/visitor.c')
-rw-r--r-- | src/visitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/visitor.c b/src/visitor.c index 135c4d5..4a4d87f 100644 --- a/src/visitor.c +++ b/src/visitor.c @@ -68,7 +68,7 @@ bool is_built_in(ast_t *e) { ast_t *eval_symbol(visitor_t *v, ast_t *e) { /* hash_table_t *lmao = stack_peek(v->stack_frame); */ hash_table_t *h = stack_peek(v->stack_frame); - + printf("%s\n", e->string_value); if (is_built_in(e)) return e; /* first, it looks in the stack frame for a variable */ @@ -87,6 +87,7 @@ ast_t *eval_symbol(visitor_t *v, ast_t *e) { hash_table_add(v->eval_table, e->string_value, eval); return eval; } else { + printf("this eval error\n"); eval_error(v, e); return NULL; } |