diff --git a/compiler/scanner.pas b/compiler/scanner.pas index ed6e368c90..c3ad68f43d 100644 --- a/compiler/scanner.pas +++ b/compiler/scanner.pas @@ -2140,7 +2140,7 @@ type begin result.free; result:=texprvalue.create_int(tenumsym(srsym).value); -// tconstsym(srsym).IncRefCount; + tenumsym(srsym).IncRefCount; end; else ;