ANSI C and comment preprocessing

Doug Gwyn gwyn at smoke.brl.mil
Wed Jan 9 19:40:49 AEST 1991


In article <11228 at cae780.csi.com> donald at cae780.csi.com (Donald Maffly) writes:
>	int my/* comment */var;
>Can anyone help me answer this koan????

The Reiser C preprocessor incorrectly implemented comment stripping,
as well as several other portions of the C language specification used
at the time, and some over-clever programmers decided to exploit this
bug in their C code.  It was never valid C usage, and still isn't.



More information about the Comp.lang.c mailing list