BVK Chaitanya
|
f12c842082
|
Function parameters support to GRUB script.
* script/yylex.l (VARIABLE): Regular expression update.
* script/function.c (grub_script_function_call): Moved ...
* script/execute.c (grub_script_function_call): ... to here.
(grub_script_execute_arglist_to_argv): Removed.
(grub_script_arglist_to_argv): New function.
* script/argv.c: New file.
(grub_script_argv_free): New function.
(grub_script_argv_next): Likewise.
(grub_script_argv_append): Likewise.
(grub_script_argv_split_append): Likewise.
* include/grub/script_sh.h (grub_script_argv): New struct.
(grub_script_argv_free): New function.
(grub_script_argv_next): Likewise.
(grub_script_argv_append): Likewise.
(grub_script_argv_split_append): Likewise.
* conf/common.rmk (normal.mod): New source script/argv.c.
* tests/grub_script_echo1.in: More tests.
* tests/grub_script_vars1.in: Likewise.
* tests/grub_script_functions.in: New test case.
* conf/tests.rmk: Rules for new testcase.
|
2010-08-12 09:20:58 +05:30 |
|
BVK Chaitanya
|
4962a2032f
|
merge with mainline
|
2010-08-12 09:16:24 +05:30 |
|
BVK Chaitanya
|
8022b74825
|
Remove grub_script_cmdblock struct.
* include/grub/script_sh.h: Remove grub_script_cmdblock.
* script/parser.y: Likewise.
* script/execute.c: Rename cmdblock suffix to cmdlist.
* script/script.c: Likewise.
* util/grub-script-check.c: Likewise.
|
2010-08-12 09:04:37 +05:30 |
|
BVK Chaitanya
|
0bcbae0fa7
|
merge with mainline
|
2010-08-12 09:01:59 +05:30 |
|
BVK Chaitanya
|
368ba29261
|
merge with mainline
|
2010-08-10 09:52:16 +05:30 |
|
BVK Chaitanya
|
c9f7ff97cf
|
* script/execute.c (grub_script_execute_cmdline): Check for NULL
as command name case.
|
2010-08-03 11:56:36 +05:30 |
|
BVK Chaitanya
|
29d7e783d2
|
* bus/usb/usbhub.c: #include time.h header.
|
2010-07-06 14:53:55 +05:30 |
|
BVK Chaitanya
|
14d3f08e70
|
Fix parallel build.
* conf/common.rmk: Add grub_script.tab.h as a grub-script-check
dependency.
* script/parser.y: #include grub_script.tab.h header.
|
2010-06-21 20:34:30 +05:30 |
|