Fixed several address size issues
git-svn-id: svn://svn.cc65.org/cc65/trunk@2729 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -485,6 +485,16 @@ int SymIsConst (SymEntry* S, long* Val)
|
||||
|
||||
|
||||
|
||||
SymTable* GetSymParentScope (SymEntry* S)
|
||||
/* Get the parent scope of the symbol (not the one it is defined in). Return
|
||||
* NULL if the symbol is a cheap local, or defined on global level.
|
||||
*/
|
||||
{
|
||||
return (S->SymTab && S->SymTab->Parent)? S->SymTab->Parent : 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
struct ExprNode* GetSymExpr (SymEntry* S)
|
||||
/* Get the expression for a non-const symbol */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user