mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1371 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -855,6 +855,14 @@ static int primary (ExprDesc* lval)
|
|||||||
return k;
|
return k;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If we run into an identifier in preprocessing mode, we assume that this
|
||||||
|
* is an undefined macro and replace it by a constant value of zero.
|
||||||
|
*/
|
||||||
|
if (Preprocessing && CurTok.Tok == TOK_IDENT) {
|
||||||
|
MakeConstIntExpr (lval, 0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* All others may only be used if the expression evaluation is not called
|
/* All others may only be used if the expression evaluation is not called
|
||||||
* recursively by the preprocessor.
|
* recursively by the preprocessor.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user