This one bit me today

dougp at voodoo.ucsb.edu dougp at voodoo.ucsb.edu
Fri Oct 27 12:38:17 AEST 1989


-Message-Text-Follows-
In article <509 at sagpd1.UUCP>, jharkins at sagpd1.UUCP (Jim Harkins) writes...
>In article <1989Oct23.161744.29153 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:
>>Nobody has ever quite gotten around to using `@' in C.
> 
>I know, we'll use @ for nested comments!  :-)
> 
>jim
>"Any day now we're gonna have the big one and everything east of the San
>Andreas fault will slide into the Atlantic."
I have changed my mind on wanting nested comments, someone gave a good
reason why not to use them:

/*printf("the comment delimiter in C is /* \n"); */

would generate an error. The best solution would be to have /* /* */
generate a warning.

Douglas Peale



More information about the Comp.lang.c mailing list