return command for functions

This commit is contained in:
BVK Chaitanya 2010-08-25 19:35:52 +05:30
parent 0c8b61d8e4
commit aa5cd41af5
6 changed files with 212 additions and 9 deletions

View file

@ -321,6 +321,9 @@ grub_err_t grub_script_break (grub_command_t cmd, int argc, char *argv[]);
/* SHIFT command for GRUB script. */
grub_err_t grub_script_shift (grub_command_t cmd, int argc, char *argv[]);
/* RETURN command for functions. */
grub_err_t grub_script_return (grub_command_t cmd, int argc, char *argv[]);
/* This variable points to the parsed command. This is used to
communicate with the bison code. */
extern struct grub_script_cmd *grub_script_parsed;