]> git.sur5r.net Git - cc65/blobdiff - src/cc65/symtab.h
New/changed optimizations
[cc65] / src / cc65 / symtab.h
index f948ed14e32bb2cd8906d4d9778494cf5adcde53..317d8f8b808682958e27c5418190da679cb55fdd 100644 (file)
@@ -117,6 +117,9 @@ void LeaveStructLevel (void);
 SymEntry* FindSym (const char* Name);
 /* Find the symbol with the given name */
 
+SymEntry* FindGlobalSym (const char* Name);
+/* Find the symbol with the given name in the global symbol table only */
+
 SymEntry* FindLocalSym (const char* Name);
 /* Find the symbol with the given name in the current symbol table only */
 
@@ -160,6 +163,9 @@ SymEntry* AddGlobalSym (const char* Name, const type* Type, unsigned Flags);
 SymTable* GetSymTab (void);
 /* Return the current symbol table */
 
+SymTable* GetGlobalSymTab (void);
+/* Return the global symbol table */
+
 int SymIsLocal (SymEntry* Sym);
 /* Return true if the symbol is defined in the highest lexical level */