]> git.ipfire.org Git - thirdparty/grub.git/commit
2006-05-20 Marco Gerards <marco@gnu.org>
authormarco_g <marco_g@localhost>
Sat, 20 May 2006 11:10:22 +0000 (11:10 +0000)
committermarco_g <marco_g@localhost>
Sat, 20 May 2006 11:10:22 +0000 (11:10 +0000)
commit7dc4f874a669a4ea7acd954abb95bfb354e70caa
tree8d30ff90e00448027ce15a000b21e1d95eaff6ec
parent577b405042b6213edb08654875864ef0b7aefaec
2006-05-20  Marco Gerards  <marco@gnu.org>

* normal/lexer.c (grub_script_yylex): Don't filter out newlines.

* normal/parser.y (commandblock): Defined as <cmd>.  A subroutine
for `menuentry'.
(script): Accept leading newlines.
(newlines): New rule to describe 0 or more newlines.
(commands): Accept `command' with trailing newline.  Fixed the
order in which arguments were passed to `grub_script_add_cmd'.
Accept commands separated by newlines.
(function): Changed to accept newlines.
(menuentry) Rewritten.

* normal/script.c (grub_script_create_cmdmenu): Add new entries in
front of the list, instead of to the end.
normal/lexer.c
normal/parser.y
normal/script.c