* grub-core/script/execute.c (grub_script_execute_sourcecode): Split

off new function grub_script_execute_new_scope. Change callers to use
	either of them as appropriate.
	* grub-core/commands/eval.c: New command eval.
	* docs/grub.texi (Commands): Document it.
This commit is contained in:
Andrey Borzenkov 2013-06-07 18:36:42 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 63c2984922
commit 593e430cd6
7 changed files with 50 additions and 13 deletions

View file

@ -703,6 +703,11 @@ module = {
common = commands/echo.c;
};
module = {
name = eval;
common = commands/eval.c;
};
module = {
name = extcmd;
common = commands/extcmd.c;