Comments and pragma lines

Henry Spencer henry at utzoo.uucp
Tue Dec 6 04:07:30 AEST 1988


In article <1832 at laidbak.UUCP> katzung at laidbak.UUCP (Brian Katzung) writes:
>>It's even legal to write "/* foo */ # /* bar */ pragma ...".
>
>Unless I'm mistaken, only in a function-like #define token replacement list!
>It won't be a #pragma because the # is not the first character on the line.

X3J11 has removed the first-char-on-the-line restriction; now # can be
preceded, as well as followed, by white space (which is what comments are).
-- 
SunOSish, adj:  requiring      |     Henry Spencer at U of Toronto Zoology
32-bit bug numbers.            | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.std.c mailing list