From 21f8876f503def4ec041f00bea10e6e84919d3fb Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Thu, 25 Feb 2021 21:42:54 -0600 Subject: [PATCH] In PP expressions, make sure identifiers turn into 0LL. --- Expression.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Expression.pas b/Expression.pas index 7a669e8..0140c62 100644 --- a/Expression.pas +++ b/Expression.pas @@ -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}