ソースを参照

* resolve postponed local switch changes before switching mode

git-svn-id: trunk@1880 -
florian 19 年 前
コミット
d6628f1d8b
1 ファイル変更6 行追加0 行削除
  1. 6 0
      compiler/scanner.pas

+ 6 - 0
compiler/scanner.pas

@@ -288,6 +288,12 @@ implementation
 
         if b then
          begin
+           { resolve all postponed switch changes }
+           if localswitcheschanged then
+             begin
+               aktlocalswitches:=nextaktlocalswitches;
+               localswitcheschanged:=false;
+             end;
            { turn ansistrings on by default ? }
            if (m_delphi in aktmodeswitches) then
             begin