test: fix previous commit - we need to return from subexpression
( ... ) was processed recursively, we need to return from it. Revert this change.
This commit is contained in:
parent
d29259b134
commit
958167b91c
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ test_parse (char **args, int *argn, int argc)
|
|||
if (grub_strcmp (args[*argn], ")") == 0)
|
||||
{
|
||||
(*argn)++;
|
||||
continue;
|
||||
return ctx.or || ctx.and;
|
||||
}
|
||||
/* Recursively invoke if parenthesis. */
|
||||
if (grub_strcmp (args[*argn], "(") == 0)
|
||||
|
|
Loading…
Reference in a new issue