From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] plan9's C compiler and // comments From: C H Forsyth In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-dastokaeuggyqzuvykvkvplegl" Date: Mon, 15 Sep 2003 12:26:40 +0100 Topicbox-Message-UUID: 3717659a-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-dastokaeuggyqzuvykvkvplegl Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit i can only get that effect when i do NOT include the -+ option, but in that case it's not supposed to do C++ comments so the effect is correct. --upas-dastokaeuggyqzuvykvkvplegl Content-Type: message/rfc822 Content-Disposition: inline Return-path: <9fans-admin@cse.psu.edu> Received: from punt-3.mail.demon.net by mailstore for forsyth@vitanuova.com id 19yr8f-00007c-3H; Mon, 15 Sep 2003 11:03:25 +0000 Received: from [130.203.4.6] (helo=mail.cse.psu.edu) by punt-3.mail.demon.net with esmtp id 19yr8f-00007c-3H; Mon, 15 Sep 2003 11:03:25 +0000 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 804B619B7A; Mon, 15 Sep 2003 07:03:14 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 4E141199D5; Mon, 15 Sep 2003 07:03:10 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id E3A8619B67; Mon, 15 Sep 2003 07:02:04 -0400 (EDT) Received: from larch (testone.snellwilcox.com [195.173.15.12]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0D115199D5 for <9fans@cse.psu.edu>; Mon, 15 Sep 2003 07:02:04 -0400 (EDT) Message-ID: From: steve.simon@snellwilcox.com To: 9fans@cse.psu.edu Subject: Re: [9fans] plan9's C compiler and // comments In-Reply-To: <1630899296@snellwilcox.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ngugqqtspbvmqwiiytlfvuxkdf" Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 15 Sep 2003 12:01:58 +0100 X-Spam-Status: No, hits=0.3 required=5.0 tests=IN_REP_TO,NO_REAL_NAME version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) This is a multi-part message in MIME format. --upas-ngugqqtspbvmqwiiytlfvuxkdf Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, ape/cpp also attempts to do single quote (') matching inside C++ style comments. Thus int fred = 0; // fred's number causes cpp to spew. Its on my list of things to track down but not at the top... -Steve --upas-ngugqqtspbvmqwiiytlfvuxkdf Content-Type: message/rfc822 Content-Disposition: inline Date: Mon, 15 Sep 2003 04:19:35 +0100 To: 9fans@cse.psu.edu bcc: "Steve Simon" From: 9fans@cse.psu.edu Sender: 9fans@cse.psu.edu Reply-To: 9fans@cse.psu.edu Importance: normal Priority: normal Subject: Re: [9fans] plan9's C compiler and // comments Message-Id: <1630899296@snellwilcox.com> X-MIME-Engine: v0.90 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Id: <1630899296-1@snellwilcox.com> Content-Transfer-Encoding: quoted-printable Of course, even our cpp gets it wrong... If you feel like fixing it, might as well go whole hog. --upas-ngugqqtspbvmqwiiytlfvuxkdf-- --upas-dastokaeuggyqzuvykvkvplegl--