瀏覽代碼

Partial fix for bug report 22744

git-svn-id: trunk@22265 -
pierre 13 年之前
父節點
當前提交
c501e6db5f
共有 1 個文件被更改,包括 5 次插入1 次删除
  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;