浏览代码

* problem with conditionnal under TP mode !

pierre 26 年之前
父节点
当前提交
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