Comments and pragma lines

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Nov 29 23:17:39 AEST 1988


In article <48957 at pyramid.pyramid.com> markhall at pyramid.UUCP (Mark Hall) writes:
-#pragma rotate lid counterclockwise    /* store pointers in
-					* Best Foods 
-					* Mayonaise Jars.
-					*/
-Is it legal to start the comment on the pragma line?  From what I read*
-in the standard, it is illegal.

How about explaining how you deduce that?
I'm away from my copy of the standard, but I'm sure the comment was
supposed to have been replaced by a space character before the #pragma
line was ever (pre)processed.



More information about the Comp.std.c mailing list