소스 검색

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

florian 2 년 전
부모
커밋
ece59f2534
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/scanner.pas

+ 1 - 1
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
                                   ;