mirror of
https://github.com/cc65/cc65.git
synced 2025-01-30 12:33:15 +00:00
Fix detection of byte sized expressions
git-svn-id: svn://svn.cc65.org/cc65/trunk@503 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
643f468295
commit
81249b8d92
@ -1110,6 +1110,9 @@ static void CheckByteExpr (const ExprNode* N, int* IsByte)
|
||||
case EXPR_SYMBOL:
|
||||
if (SymIsZP (N->V.Sym)) {
|
||||
*IsByte = 1;
|
||||
} else if (SymHasExpr (N->V.Sym)) {
|
||||
/* Check if this expression is a byte expression */
|
||||
*IsByte = IsByteExpr (GetSymExpr (N->V.Sym));
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user