In PP expressions, make sure identifiers turn into 0LL.

This commit is contained in:
Stephen Heumann 2021-02-25 21:42:54 -06:00
parent 36d31ab37c
commit 21f8876f50
1 changed files with 3 additions and 2 deletions

View File

@ -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}