From mboxrd@z Thu Jan 1 00:00:00 1970 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> <20110722183802.60C66B827@mail.bitblocks.com> In-Reply-To: <20110722183802.60C66B827@mail.bitblocks.com> Mime-Version: 1.0 (iPhone Mail 8C148a) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> From: "ComeauAt9Fans@gmail.com" Date: Fri, 22 Jul 2011 14:48:44 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Plan 9 Go (Was: GNU/Linux/Plan 9 disto) Topicbox-Message-UUID: 053ce38c-ead7-11e9-9d60-3106f5b1d025 On Jul 22, 2011, at 2:38 PM, Bakul Shah wrote: > On Fri, 22 Jul 2011 13:53:41 EDT erik quanstrom = wrote: >> can you give am example where // comments with ' cause >> trouble. i can't replicate. >>=20 >> - erik >=20 > In 9vx: >=20 > term% yacc go/src/cmd/gc/go.y >=20 > fatal error:newline in string or char. const., /go/src/cmd/gc/go.y:528 >=20 >=20 > // If the last token read by the lexer was consumed > // as part of the case, clear it (parser has cleared yychar). > // If the last token read by the lexer was the lookahead > // leave it alone (parser has it cached in yychar). > =3D=3D=3D=3D> // This is so that the stmt_list action doesn't look a= t > // the case tokens if the stmt_list is empty. > yylast =3D yychar; pcc accepts -+ as well as cpp, perhaps a way to pass it as an environment an= d/or make variable?=