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

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to