mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-03-06 06:29:57 +00:00
In PP expressions, make sure identifiers turn into 0LL.
This commit is contained in:
parent
36d31ab37c
commit
21f8876f50
@ -898,8 +898,9 @@ var
|
||||
|
||||
{in the preprocessor, all identifiers (post macro replacement) become 0}
|
||||
if kind = preprocessorExpression then begin
|
||||
stack^.token.kind := longconst;
|
||||
stack^.token.lval := 0;
|
||||
stack^.token.class := longlongConstant;
|
||||
stack^.token.kind := longlongconst;
|
||||
stack^.token.qval := longlong0;
|
||||
end {if}
|
||||
|
||||
{if the id is not declared, create a function returning integer}
|
||||
|
Loading…
x
Reference in New Issue
Block a user