From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I2tVi-00009f-VJ for mharc-grub-devel@gnu.org; Mon, 25 Jun 2007 14:42:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2tVi-00009J-0a for grub-devel@gnu.org; Mon, 25 Jun 2007 14:42:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2tVg-00008I-6p for grub-devel@gnu.org; Mon, 25 Jun 2007 14:42:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2tVg-00008F-4A for grub-devel@gnu.org; Mon, 25 Jun 2007 14:42:00 -0400 Received: from m15-113.126.com ([220.181.15.113]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I2tVe-0003AK-O4 for grub-devel@gnu.org; Mon, 25 Jun 2007 14:41:59 -0400 Received: from localhost (unknown [121.201.45.6]) by smtp5 (Coremail) with SMTP id wKjJDbDLjAhwDIBG3BtCAw==.47373S2; Tue, 26 Jun 2007 02:41:53 +0800 (CST) Date: Tue, 26 Jun 2007 02:41:31 +0800 From: Bean To: The development of GRUB 2 Message-ID: <20070625184131.GA3383@ws3.vdp.com> References: <46752D5B.1000001@nic.fi> <87abuqomkl.fsf@xs4all.nl> <20070623143127.GA2433@ws3.vdp.com> <4687E920.8080803@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4687E920.8080803@gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Coremail-Antispam: 1U3Yxn0WfASr-VFAUDIcSsGvfJTg7C26xCjj4IEI4klw4CSww Aac4AC62xK8xCEY4vEwIxC4wC2zVAF1VAY17CE14v26r1j6r15Mx02cVAKzwASzI0EjI02 j7AqF2xKxwAv7VC0I7IYx2IY67AKxVWUJVWUGwCF72vE52k0Y41lYx0Ex4A2jsIE14v26r 1j6r4UM7C26IkvcIIF6IxKo4kEV4ylc2IjII80xcxEwVAKI48JM7AC8VAFwI0_Jr0_Gr1l b4IE77IF4wAFIxvE14AKwVWUJVWUGwAqx4xG64xvF2IEw4CE5I8CrVC2j2Wlb7Iv0xC_Ar UanT9S1TB71UUUUUUa7-sFnT9fnUUI43ZEXa7IUjomh5UUUUUFnT9fnsW5prWfGw15KFy5 Kry3GFy8uw45JoXrpFyxAoZ3Gws7Kw1kKryakF1Y9a13WFZrK3WrWr1YqrWkKr1ak3WUZF 9FvrWUuFWxuws0yF40gw18AF95K3W3Arn8Aw18= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: status update for grub 2 developments? 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: Mon, 25 Jun 2007 18:42:02 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sun, Jul 01, 2007 at 07:49:20PM +0200, adrian15 wrote: > Bean escribió: > >>Well, if people want to work on scripting or networking they should > >>talk to me. I have lots of code on my hd that is incomplete or just > >>not cleaned up. It would be a waste of time if it were rewritten. > >>And please poke me a lot to get me to work... ;) > > > >I'm interested in scripting. What could I do to help you ? > > As long as you may re-read Marco_g source code you can try to fix a > bug > that I have found I suppose in the parser. > > If you type any command with a \ character not being inside " " > characters it gives an grub internal error. > > echo "\n" --> OK > echo \n fff --> GRUB INTERNAL ERROR It's fixed, please test. echo "\n" \n echo \n fff n fff Note: you need to apply the patch grub2-parser-u2.diff first. -- Bean --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="grub2-parser-u2-1.diff" * normal/lexer.c (check_textstate): Add GRUB_PARSER_STATE_ESC. Index: normal/lexer.c =================================================================== RCS file: /sources/grub/grub2/normal/lexer.c,v retrieving revision 1.6 diff -u -r1.6 lexer.c --- normal/lexer.c 4 Jun 2006 15:56:55 -0000 1.6 +++ normal/lexer.c 25 Jun 2007 18:27:59 -0000 @@ -41,7 +41,8 @@ { return (state == GRUB_PARSER_STATE_TEXT || state == GRUB_PARSER_STATE_QUOTE - || state == GRUB_PARSER_STATE_DQUOTE); + || state == GRUB_PARSER_STATE_DQUOTE + || state == GRUB_PARSER_STATE_ESC); } struct grub_lexer_param * --h31gzZEtNLTqOjlF--