Explorar el Código

Partial fix for bug report 22744

git-svn-id: trunk@22265 -
pierre hace 13 años
padre
commit
c501e6db5f
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      compiler/scandir.pas

+ 5 - 1
compiler/scandir.pas

@@ -986,7 +986,11 @@ unit scandir;
       { Reset verbosity and forget previous pmeesage }
       RestoreLocalVerbosity(nil);
       current_settings.pmessage:=nil;
-      flushpendingswitchesstate;
+      { Do not yet activate these changes, as otherwise
+        you get problem idf you put a $pop just right after
+        a addition for instance fro which you explicitly truned the overflow check
+        out by using $Q- after a $push PM 2012-08-29 }
+      // flushpendingswitchesstate;
     end;
 
     procedure dir_pointermath;