From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ICePA-0006OX-Cv for mharc-grub-devel@gnu.org; Sun, 22 Jul 2007 12:35:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICeP8-0006O4-Id for grub-devel@gnu.org; Sun, 22 Jul 2007 12:35:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICeP6-0006Nj-2F for grub-devel@gnu.org; Sun, 22 Jul 2007 12:35:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICeP5-0006Ng-Tk for grub-devel@gnu.org; Sun, 22 Jul 2007 12:35:31 -0400 Received: from py-out-1112.google.com ([64.233.166.178]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ICeP5-0000gB-Jg for grub-devel@gnu.org; Sun, 22 Jul 2007 12:35:31 -0400 Received: by py-out-1112.google.com with SMTP id f31so3161509pyh for ; Sun, 22 Jul 2007 09:35:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=o1xwEeeTJYNIbA5ILYz2hhnwFlC4W/WmExiaxPHtFkhPEAPLFBBAE11Aha97oUpbuvL/SfnoNv9/31qyRkNLAtxs3Zbr7UoloaG1kiWhaJZkCOZEcvPtUltFpJSk7Ssku4u1Kvsi5Z2FhY/ZCCJ9iYznerYj9GU5o11iy/7+y7s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Ux29Q6JUrCSzPUHnEN44PE+1f1vf1TGjINJ2CTnJa4oTwIEbZ/GncSKlyM7ae/vBx4rBL6BXs8QhmnnBo/jdGmdh2gdWADeZABEAApBT0Ayjbik1ID26yfye5ultm8z2KYf6g62LVplkZvKv0mu5iISRcpV6D95bVCtaj3MiAPI= Received: by 10.141.90.17 with SMTP id s17mr683471rvl.1185122127052; Sun, 22 Jul 2007 09:35:27 -0700 (PDT) Received: from localhost ( [218.240.200.106]) by mx.google.com with ESMTPS id l17sm5621038rvb.2007.07.22.09.35.25 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2007 09:35:26 -0700 (PDT) Date: Mon, 23 Jul 2007 00:34:52 +0800 From: Bean To: The development of GRUB 2 Message-ID: <20070722163452.GA2311@ws3.vdp.com> References: <20070703175316.GA2306@ws3.vdp.com> <87ps2kfuza.fsf@xs4all.nl> <20070722155546.GB2272@ws3.vdp.com> <87bqe4csu9.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bqe4csu9.fsf@xs4all.nl> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Linux 2.6 (newer, 2) Subject: Re: Standalone problem to test syntax rules X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 16:35:35 -0000 On Sun, Jul 22, 2007 at 06:21:18PM +0200, Marco Gerards wrote: > The code already uses an AST. Or what do you mean? I mean the test program. > If I am not mistaken, you are going over parser.y to make it work with > more situations and to introduce proper error handling. Or am I > mistaken? There is a lot of change. The basic idea is that commands should be seperated by either ';' or '\n', followed by zero or more '\n'. delimiter: '\n' | ';' | delimiter '\n' > > > Would you take a look at the program, especially the error recover rules. > > I think it can handle all situation, but you never know until it's fully > > tested. > > In the tarball? Yes. -- Bean