From e98f89c84ec0492a36e364ac32987e17296b33df Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 6 Jan 2023 08:04:26 -0800 Subject: no obvious memory problems --- src/visitor.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/visitor.c') 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; } -- cgit