Newsgroups: comp.std.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Comments and pragma lines Message-ID: <1988Nov29.171740.22165@utzoo.uucp> Organization: U of Toronto Zoology References: <48957@pyramid.pyramid.com> Date: Tue, 29 Nov 88 17:17:40 GMT In article <48957@pyramid.pyramid.com> markhall@pyramid.UUCP (Mark Hall) writes: >Is it legal to start the comment on the pragma line? From what I read* >in the standard, it is illegal... Sorry, wrong, see 2.1.1.2, which clearly specifies that comments disappear long before #pragma and its kin are recognized. Comments are legal anywhere. It's even legal to write "/* foo */ # /* bar */ pragma ...". -- SunOSish, adj: requiring | Henry Spencer at U of Toronto Zoology 32-bit bug numbers. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu