summaryrefslogtreecommitdiff
path: root/src/visitor.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-06 08:04:26 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-06 08:04:26 -0800
commite98f89c84ec0492a36e364ac32987e17296b33df (patch)
tree7a306f7a148cee12a0c8f216e347c548875e2e75 /src/visitor.c
parent6c1e4bbfe920feda675d8ea3a13281742d55c334 (diff)
no obvious memory problems
Diffstat (limited to 'src/visitor.c')
-rw-r--r--src/visitor.c2
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;
}