From owner-freebsd-bugs Tue Apr 29 00:40:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA02393 for bugs-outgoing; Tue, 29 Apr 1997 00:40:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA02367; Tue, 29 Apr 1997 00:40:01 -0700 (PDT) Date: Tue, 29 Apr 1997 00:40:01 -0700 (PDT) Message-Id: <199704290740.AAA02367@hub.freebsd.org> To: freebsd-bugs Cc: From: hoek@hwcn.org Subject: Re: bin/3403: yacc doesn't well parse recursivish errors Reply-To: hoek@hwcn.org Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/3403; it has been noted by GNATS. From: hoek@hwcn.org To: freebsd-gnats-submit@freebsd.org, Tim.Vanderhoek@X2296 Cc: ac199@hwcn.org, robert.corbett@eng.Sun.COM Subject: Re: bin/3403: yacc doesn't well parse recursivish errors Date: Tue, 29 Apr 1997 03:33:38 -0400 (EDT) > Description > > >It would seem that yacc doesn't properly handle rules along the lines >of Well....maybe it does... >The following program should print out have the following output: > >-- >Parsed #1 >Parsed #0 >-- > >However, it does not. Rather, only the first line ("Parsed #1") is >printed... This is not what I want the program to do. Nevermind... It works just finely when one remembers to include yyerrok; in the error-handling rule. Something still feels wrong, but I'm not that this bugreport quite points it out... Feel free to close it...