From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <00e801c37b38$809aa7b0$c901a8c0@cc77109e> From: "Bruce Ellis" To: <9fans@cse.psu.edu> References: <4474ff21207aa9cf44a6e3f715f6b492@plan9.bell-labs.com> Subject: Re: [9fans] plan9's C compiler and // comments MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Mon, 15 Sep 2003 13:21:42 +1000 Topicbox-Message-UUID: 360ce210-eacc-11e9-9e20-41e7f4b1d025 I did the special /**/ stuff because some crappy code depends on them being elided. I probably should have done // as well but decided not to for some reason lost in the past. brucee ----- Original Message ----- From: "David Presotto" To: ; <9fans@cse.psu.edu> Sent: Monday, September 15, 2003 1:06 PM Subject: Re: [9fans] plan9's C compiler and // comments > Looks like just the opposite to me. /**/ comments are handled specially. > The prepocessor doesn't know anything about // comments. If you want to > change it, I wouldn't mind. I think nobody ever thought of or cared to > do it before because we frown so much on programming with the preprocessor. > > The // at the end of your endif makes it through only because everything after the > endif is ignored.