Article View: comp.std.c
Article #5442Re: Comments and pragma lines
From: Henry Spencer
Date: Tue, 29 Nov 1988 17:17
Date: Tue, 29 Nov 1988 17:17
10 lines
859 bytes
859 bytes
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
Technical Details
Message-ID:
<1988Nov29.171740.22165@utzoo.uucp>Path:
arc1-ca.pugleaf.net!utzoo!henryReferences:
<48957@pyramid.pyramid.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!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