Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!news.iecc.com!.POSTED!nerds-end From: Kaz Kylheku Newsgroups: comp.compilers Subject: Re: flex + yacc problem: partial parsing. Date: Wed, 8 Jan 2014 18:29:51 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 11 Sender: johnl@iecc.com Approved: comp.compilers@iecc.com Message-ID: <14-01-009@comp.compilers> References: <13-12-008@comp.compilers> <14-01-006@comp.compilers> NNTP-Posting-Host: lnews.iecc.com X-Trace: leila.iecc.com 1389367769 94929 64.57.183.51 (10 Jan 2014 15:29:29 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Fri, 10 Jan 2014 15:29:29 +0000 (UTC) Keywords: yacc Posted-Date: 10 Jan 2014 10:29:29 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1076 On 2014-01-08, Kaz Kylheku wrote: > On 2013-12-17, Kaz Kylheku wrote: >> [You can use YYACCEPT to tell yacc or bison that you're done parsing, >> but I'm not sure about the readahead. -John] > > Okay, I got it all working: Furthermore, I'd like to add the small but significant note that it all works with two different Yacc implementations: GNU Bison 2.5, as well as Berkeley Yacc 1.9 (20110908).