From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 22 Jul 2011 14:32:25 -0400 To: 9fans@9fans.net Message-ID: <5abcb6e30633e99fb51f1e40357ebe61@coraid.com> In-Reply-To: <3F45D6B3-5520-4304-9F0A-A1C00A2B62EA@gmail.com> 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-Transfer-Encoding: 7bit Subject: Re: [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto) Topicbox-Message-UUID: 05186480-ead7-11e9-9d60-3106f5b1d025 On Fri Jul 22 14:25:06 EDT 2011, 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 i think that's pretty much it. the original claim was that yacc had troubles, but i don't see a problem. in fact a quick read of the code says that yacc is clean. however, cpp if not given the -+ option will not recognize c++ comments (see fixlex()), and is sure that ' is to be interpreted as in c. therefore, it does tend to do strange things if it can't match 's. why does go need cpp? is the go source that littered with preprocessor gnarlies? that would be a big dissapointment. - erik