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:
cuz
2003-12-12 15:40:08 +00:00
parent 54a50d9354
commit 841c5f814b
5 changed files with 113 additions and 20 deletions

View File

@@ -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 */
{