Explorar el Código

* problem with conditionnal under TP mode !

pierre hace 26 años
padre
commit
eb040bf0e7
Se han modificado 2 ficheros con 12 adiciones y 0 borrados
  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