grub/ChangeLog.while-until-loops

21 lines
792 B
Text
Raw Normal View History

2010-01-26 04:09:51 +00:00
2010-01-26 BVK Chaitanya <bvk.groups@gmail.com>
While and until loops support to GRUB script.
* include/grub/script_sh.h (grub_script_cmdwhile): New struct.
(grub_script_create_cmdwhile): New function prototype.
(grub_script_execute_cmdwhile): New function prototype.
* script/execute.c (grub_script_execute_cmdwhile): New function.
* script/parser.y (command): New commands.
(whilecmd): New grammar rule.
(untilcmd): New grammar rule.
* script/script.c (grub_script_create_cmdwhile): New function.
* util/grub-script-check.c (grub_script_execute_cmdwhile): New
function.
2010-01-26 07:02:24 +00:00
* tests/grub_script_while1.in: New testcase.
* conf/tests.rmk: New testcase make rule.
* commands/true.c (grub_cmd_false): Remove printing error message.
* commands/test.c (grub_cmd_test): Likewise.