Explorar o código

* problem with conditionnal under TP mode !

pierre %!s(int64=26) %!d(string=hai) anos
pai
achega
eb040bf0e7
Modificáronse 2 ficheiros con 12 adicións e 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