Parcourir la source

* problem with conditionnal under TP mode !

pierre il y a 26 ans
Parent
commit
eb040bf0e7
2 fichiers modifiés avec 12 ajouts et 0 suppressions
  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