From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 22 Jul 2011 14:45:07 -0400 To: 9fans@9fans.net Message-ID: <14661ba2ca0c545f9d6de61b02e09c47@coraid.com> In-Reply-To: <20110722183802.60C66B827@mail.bitblocks.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> <20110722183802.60C66B827@mail.bitblocks.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: 0535f202-ead7-11e9-9d60-3106f5b1d025 > fatal error:newline in string or char. const., /go/src/cmd/gc/go.y:528 > > > // 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). > ====> // This is so that the stmt_list action doesn't look at > // the case tokens if the stmt_list is empty. > yylast = yychar; i still can't replicate. i pasted exactly this block into a yacc file and it works just fine. are you sure you are using up-to-date binaries? barring that, can you send me the .y file? - erik