浏览代码

* changed {$modeswitch blocks} to {$modeswitch cblocks} to avoid confusion
with the Pascal meaning of the term "block"

git-svn-id: trunk@29594 -

Jonas Maebe 10 年之前
父节点
当前提交
5d4837329b
共有 6 个文件被更改,包括 6 次插入6 次删除
  1. 1 1
      compiler/globtype.pas
  2. 1 1
      tests/test/tblock1.pp
  3. 1 1
      tests/test/tblock1a.pp
  4. 1 1
      tests/test/tblock1c.pp
  5. 1 1
      tests/test/tblock2.pp
  6. 1 1
      tests/test/tblock2a.pp

+ 1 - 1
compiler/globtype.pas

@@ -568,7 +568,7 @@ interface
          'FINALFIELDS',
          'UNICODESTRINGS',
          'TYPEHELPERS',
-         'BLOCKS');
+         'CBLOCKS');
 
 
      type

+ 1 - 1
tests/test/tblock1.pp

@@ -1,7 +1,7 @@
 { %target=darwin,iphonesim}
 { %skipcpu=powerpc,powerpc64 }
 
-{$modeswitch blocks}
+{$modeswitch cblocks}
 
 type
   tblock = reference to procedure; cdecl;

+ 1 - 1
tests/test/tblock1a.pp

@@ -2,7 +2,7 @@
 { %skipcpu=powerpc,powerpc64 }
 
 {$mode delphi}
-{$modeswitch blocks}
+{$modeswitch cblocks}
 
 type
   tblock = reference to procedure; cdecl;

+ 1 - 1
tests/test/tblock1c.pp

@@ -1,7 +1,7 @@
 { %target=darwin,iphonesim}
 { %skipcpu=powerpc,powerpc64 }
 
-{$modeswitch blocks}
+{$modeswitch cblocks}
 
 type
   tblock = reference to function(l: longint): longint; cdecl;

+ 1 - 1
tests/test/tblock2.pp

@@ -2,7 +2,7 @@
 { %skipcpu=powerpc,powerpc64 }
 
 {$mode objfpc}
-{$modeswitch blocks}
+{$modeswitch cblocks}
 
 type
   tblock = reference to procedure(j: longint); cdecl;

+ 1 - 1
tests/test/tblock2a.pp

@@ -2,7 +2,7 @@
 { %skipcpu=powerpc,powerpc64 }
 
 {$mode delphi}
-{$modeswitch blocks}
+{$modeswitch cblocks}
 
 type
   tblock = reference to procedure(j: longint); cdecl;