Просмотр исходного кода

* problem with conditionnal under TP mode !

pierre 26 лет назад
Родитель
Сommit
eb040bf0e7
2 измененных файлов с 12 добавлено и 0 удалено
  1. 11 0
      bugs/bug0256.pp
  2. 1 0
      bugs/readme.txt

+ 11 - 0
bugs/bug0256.pp

@@ -0,0 +1,11 @@
+{$mode tp}
+    
+{$ifdef dummy}
+    procedure test;
+      begin
+         foreach({$ifndef TP}@{$endif}add_to_browserlog);
+      end;
+{$endif BrowserLog}
+
+begin
+end.

+ 1 - 0
bugs/readme.txt

@@ -347,3 +347,4 @@ bug0246.pp   const para can be changed without error
 bug0252.pp   typecasting not possible within typed const
 bug0254.pp   problem of endless loop if string at end of main file without new line.
 bug0255.pp   internal error 10 with in and function calls
+bug0256.pp   problem with conditionnals in TP mode