On Tue, Oct 26, 2004 at 09:10:05PM +0200, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
are syntactically correct at the token level. If it's a pike file it's still pike code in those parts too - things like comments and string
Sometimes #ifdefs used to isolate not finished (thus probably syntactically incorrect) code from compiler. Once I was surprised when got warning like "Unfinished string", when I used #ifdef for some text which was not Pike code (a string was like `blabla'), but I couldn't use regular comments to isolate it (there were some */ inside).
IMHO, preprocessor must be language independent, unless it is completely integrated into language, or, at least, it should be possible to turn off syntaxt checks in some cases (#pragma or #comment __delimiter__).
Regards, /Al