Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-02

Patch for better Delphi-compatability in preprocessor

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Christian Iversen

Certain Delphi constructs are not yet supported by the FreePascal preprocessor. Therefore, I have written a patch to implement this functionality, so the package Technetium can compile on FreePascal again.

The attached patch closes both these bugs:
http://www.freepascal.org/bugs/showrec.php3?ID=3683 http://www.freepascal.org/bugs/showrec.php3?ID=3691

If you accept this patch, please give credit as something like this: "Patch by Christian Iversen to implement symbolic constants and the IN operator in the preprocessor"

It seems that the real delphi uses a different approach to parsing expressions in the preprocessor, so eventually this patch will be replaced. However, for now, it helps many projects compile that otherwise wouldn't be able to.

Regards, Christian Iversen

Reply by email