Procházet zdrojové kódy

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

florian před 2 roky
rodič
revize
2b77f2ab3e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
                                   ;