diff --git a/src/symbol_table.c b/src/symbol_table.c index a4c909b..c76043f 100644 --- a/src/symbol_table.c +++ b/src/symbol_table.c @@ -854,13 +854,14 @@ TableNode *table_lookup(SymbolTable *table, char *x) { return entrie; } } + printdebug("Could not find %s in scope using table_lookup", x); return undefined; } // check current table and all parents TableNode *look_up(SymbolTable *table, char *x) { if (table == NULL) { - printdebug("passed in empty scope. error."); + printdebug("Could not find %s in any scope using lookup",x); return undefined; } TableNode *ret = table_lookup(table, x);