Browse Source

Add {$goto on} if FPC macro is defined

git-svn-id: trunk@42186 -
pierre 6 years ago
parent
commit
471cb73c5f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/test/cpu16/i8086/tfarcal2.pp

+ 5 - 0
tests/test/cpu16/i8086/tfarcal2.pp

@@ -12,6 +12,11 @@
 
 program tfarcal2;
 
+{$ifdef FPC}
+{ FPC needs $goto on to accept labels and gotos }
+{$goto on}
+{$endif}
+
 uses
   dos;