From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FVC5u-00070H-RN for mharc-grub-devel@gnu.org; Sun, 16 Apr 2006 14:35:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FVC5s-0006w9-6q for grub-devel@gnu.org; Sun, 16 Apr 2006 14:35:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FVC5o-0006sB-Vm for grub-devel@gnu.org; Sun, 16 Apr 2006 14:35:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVC5o-0006s7-Oc for grub-devel@gnu.org; Sun, 16 Apr 2006 14:35:28 -0400 Received: from [194.109.24.23] (helo=smtp-vbr3.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FVC6I-0005pn-F3 for grub-devel@gnu.org; Sun, 16 Apr 2006 14:35:58 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k3GIZRQk070144 for ; Sun, 16 Apr 2006 20:35:27 +0200 (CEST) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB From: Marco Gerards Date: Sun, 16 Apr 2006 20:36:41 +0200 Message-ID: <87slod74g6.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Scripting and error handling 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, 16 Apr 2006 18:35:33 -0000 Hi, As you might have noticed, I just committed a patch. It fixes the following issues: - Cleaned up the parser code. It was a bit messy because of the concatenated variables handling. I just disabled that feature for now and will re-implement it in some other way. - Empty menus will not be shown. - No crashes when `title' is used. - Better error handling. If one menu entry contains a mistake, it will not appear in the menu, but others will. Some things for me to work on: - The lexer really sucks IMO. So I am looking at flex to see if it can generate a good lexer for us. It depends on some syscalls, so perhaps it is not possible for us to use flex... - When a menu entry contains a typo, it should appear as disabled or so. I will look into that. So in that case you should still be able to edit and boot the entry after editing. - More fine grained error handling should be added. So error messages can be precise and tell the user *exactly* what the problem is. - The parser should be made reentrant. - And of course I should add a lot more features. :-) - Please tell me if something still causes problems, etc. -- Marco