From cowan@ccil.org Sun Mar 28 17:45:24 2004 Return-Path: X-Sender: cowan@ccil.org X-Apparently-To: lojban@yahoogroups.com Received: (qmail 28122 invoked from network); 29 Mar 2004 01:45:22 -0000 Received: from unknown (66.218.66.216) by m13.grp.scd.yahoo.com with QMQP; 29 Mar 2004 01:45:22 -0000 Received: from unknown (HELO mercury.ccil.org) (192.190.237.100) by mta1.grp.scd.yahoo.com with SMTP; 29 Mar 2004 01:45:22 -0000 Received: from cowan by mercury.ccil.org with local (Exim 3.35 #1 (Debian)) id 1B7lo1-0005qV-00; Sun, 28 Mar 2004 20:43:13 -0500 Date: Sun, 28 Mar 2004 20:43:13 -0500 To: rlpowell@digitalkingdom.org Cc: lojban@yahoogroups.com Message-ID: <20040329014313.GD18719@ccil.org> References: <20040328104136.GA6569@digitalkingdom.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040328104136.GA6569@digitalkingdom.org> User-Agent: Mutt/1.3.28i X-eGroups-Remote-IP: 192.190.237.100 From: John Cowan Subject: Re: [lojban] Official Parser wierdness I have no intention of investigating. X-Yahoo-Group-Post: member; u=212516 X-Yahoo-Profile: johnwcowan X-Yahoo-Message-Num: 21852 Robin Lee Powell scripsit: > The official parser accepts "mi djuno le du'u" with no problems: > > 1 terms_80 mi > 2 selbri_130 djuno > 3 tail_terms_71 VAU > 4 bridi_tail_50 2 3 > 5 text_0 1 4 > > Seems rather odd to *me*. This is a known problem: if there is a grammar error in the last two tokens, the yacc skeleton can't cope. Its rule is to skip down three tokens before attempting error recovery, but instead it sees EOF and stops parsing, causing the last token or two to be quietly ignored. Another result of abusing error recovery. -- John Cowan http://www.ccil.org/~cowan http://www.reutershealth.com Charles li reis, nostre emperesdre magnes, Set anz totz pleinz ad ested in Espagnes.