* also count the use of enum syms in preprocessor expressions correctly

This commit is contained in:
florian 2023-02-16 23:01:40 +01:00
parent 811c683775
commit ece59f2534

View File

@ -2140,7 +2140,7 @@ type
begin
result.free;
result:=texprvalue.create_int(tenumsym(srsym).value);
// tconstsym(srsym).IncRefCount;
tenumsym(srsym).IncRefCount;
end;
else
;