From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 22 Jul 2011 20:57:54 +0200 From: Lucio De Re To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20110722185754.GG2065@fangle.proxima.alt.za> References: <201107220536.p6M5agtv019617@freefriends.org> <20110722130310.GO1803@fangle.proxima.alt.za> <2f6021d419a7327afa4134cda0e6c88f@ladd.quanstro.net> <20110722153731.GQ1803@fangle.proxima.alt.za> <20110722171320.50A9CB827@mail.bitblocks.com> <3F45D6B3-5520-4304-9F0A-A1C00A2B62EA@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F45D6B3-5520-4304-9F0A-A1C00A2B62EA@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto) Topicbox-Message-UUID: 055fbc36-ead7-11e9-9d60-3106f5b1d025 On Fri, Jul 22, 2011 at 02:22:54PM -0400, ComeauAt9Fans@gmail.com wrote: > > On Jul 22, 2011, at 1:53 PM, erik quanstrom wrote: > > can you give am example where // comments with ' cause > > trouble. i can't replicate. > > My guess is that he is not referring to 8c et al but too pcc. That means something like: > > // I can't replicate > > Becomes an error. Many classic UNIX[-like] preprocessors will diagnose > it as an error as it's pre-ANSI processing The fact is, the "'" is reported as an error in "cmd/gc/go.y" and "cmd/gc/mkbuiltin.c" and whereas the latter is correct, the former doesn't make sense. The comments are within "C" code that should not be compiled with pcc but with 8c. I need to get to the bottom of that problem. ++L