[fpc-devel] Use of (* comment for $DEFINEd macros
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Thu Jan 19 23:28:07 CET 2012
Paul Robinson schrieb:
> This proves conclusively that only open brace { comment is acceptable
> for defining macros in Free Pascal.
The scanner for comments is highly optimized (manually), resulting in
unwanted inconsistent and untested behaviour :-(
The preprocessor is broken since the time, when somebody decided to make
the scanner a class, and didn't know how to update the preprocessor part
accordingly. I've supplied an patch to make the preprocessor work again,
but it didn't find its way into the compiler yet :-(
DoDi
More information about the fpc-devel
mailing list