mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-09 15:57:43 +01:00
* also count the use of enum syms in preprocessor expressions correctly
This commit is contained in:
parent
811c683775
commit
ece59f2534
@ -2140,7 +2140,7 @@ type
|
||||
begin
|
||||
result.free;
|
||||
result:=texprvalue.create_int(tenumsym(srsym).value);
|
||||
// tconstsym(srsym).IncRefCount;
|
||||
tenumsym(srsym).IncRefCount;
|
||||
end;
|
||||
else
|
||||
;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user