From 6c72120785505bf4d6270d96d8c7745a70161e4b Mon Sep 17 00:00:00 2001 From: Meyer Simon Date: Sun, 23 Feb 2025 11:38:55 -0500 Subject: [PATCH] added the prototypes for lookups to the h file t#29 --- symbol_table.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/symbol_table.h b/symbol_table.h index 4830345..e2372a0 100644 --- a/symbol_table.h +++ b/symbol_table.h @@ -27,3 +27,5 @@ typedef struct SymbolTable{ TableNode* CreateEntry(SymbolTable* table, char* typeOf, char* id); SymbolTable* CreateScope(SymbolTable* ParentScope, int Line, int Column); +TableNode * table_lookup(SymbolTable * table, char * x); +TableNode * look_up(SymbolTable * table, char * x);