X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fsymtab.h;h=cd736ec1ee62aef8d98fbc1eaef435b9d6f2f6c7;hb=37f00e664454e98196fc7058d1de8e0f6dae99f5;hp=39782d6abe6f70ac50ffc90b6798200a32f5e2bd;hpb=0b186407f1117529f0f6902569f9d24bc8b1b979;p=cc65 diff --git a/src/cc65/symtab.h b/src/cc65/symtab.h index 39782d6ab..cd736ec1e 100644 --- a/src/cc65/symtab.h +++ b/src/cc65/symtab.h @@ -136,6 +136,8 @@ SymEntry* FindTagSym (const char* Name); SymEntry* FindStructField (const Type* TypeArray, const char* Name); /* Find a struct field in the fields list */ +unsigned short FindSPAdjustment (const char* Name); +/* Search for an entry in the table of SP adjustments */ /*****************************************************************************/ @@ -176,6 +178,9 @@ SymTable* GetSymTab (void); SymTable* GetGlobalSymTab (void); /* Return the global symbol table */ +SymTable* GetLabelSymTab (void); +/* Return the label symbol table */ + int SymIsLocal (SymEntry* Sym); /* Return true if the symbol is defined in the highest lexical level */