1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00

Export the label symbol table

This commit is contained in:
Lauri Kasanen 2019-04-10 14:20:24 +03:00 committed by greg-king5
parent 2af76c7cff
commit 37f00e6644
2 changed files with 9 additions and 0 deletions

View File

@ -997,6 +997,12 @@ SymTable* GetGlobalSymTab (void)
return SymTab0; return SymTab0;
} }
SymTable* GetLabelSymTab (void)
/* Return the global symbol table */
{
return LabelTab;
}
int SymIsLocal (SymEntry* Sym) int SymIsLocal (SymEntry* Sym)

View File

@ -178,6 +178,9 @@ SymTable* GetSymTab (void);
SymTable* GetGlobalSymTab (void); SymTable* GetGlobalSymTab (void);
/* Return the global symbol table */ /* Return the global symbol table */
SymTable* GetLabelSymTab (void);
/* Return the label symbol table */
int SymIsLocal (SymEntry* Sym); int SymIsLocal (SymEntry* Sym);
/* Return true if the symbol is defined in the highest lexical level */ /* Return true if the symbol is defined in the highest lexical level */