added the prototypes for lookups to the h file t#29

This commit is contained in:
Meyer Simon
2025-02-23 11:38:55 -05:00
parent 7fba06ff51
commit 6c72120785

View File

@ -27,3 +27,5 @@ typedef struct SymbolTable{
TableNode* CreateEntry(SymbolTable* table, char* typeOf, char* id); TableNode* CreateEntry(SymbolTable* table, char* typeOf, char* id);
SymbolTable* CreateScope(SymbolTable* ParentScope, int Line, int Column); SymbolTable* CreateScope(SymbolTable* ParentScope, int Line, int Column);
TableNode * table_lookup(SymbolTable * table, char * x);
TableNode * look_up(SymbolTable * table, char * x);