This one bit me today
Rick Ellis
rick at conexch.UUCP
Sat Nov 25 09:38:56 AEST 1989
In article <1989Oct28.005308.11463 at virtech.uucp> cpcahil at virtech.uucp writes:
>Your example should not generated an error in any sane implementation.
>Contents of string constants have never been parsed for comment delimeters.
In many C compilers there is a switch to allow nested comments. This allows
you to comment out large blocks without worrying about imbedded comments. Of
course it's much easier to just use #ifdef COMMENT.
More information about the Comp.lang.c
mailing list