diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-06 08:04:26 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-06 08:04:26 -0800 |
commit | e98f89c84ec0492a36e364ac32987e17296b33df (patch) | |
tree | 7a306f7a148cee12a0c8f216e347c548875e2e75 /src/visitor.c | |
parent | 6c1e4bbfe920feda675d8ea3a13281742d55c334 (diff) |
no obvious memory problems
Diffstat (limited to 'src/visitor.c')
-rw-r--r-- | src/visitor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/visitor.c b/src/visitor.c index 4a4d87f..736ce03 100644 --- a/src/visitor.c +++ b/src/visitor.c @@ -68,7 +68,6 @@ 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,7 +86,6 @@ 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; } |