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:
Andrei Borzenkov 2015-01-30 20:21:56 +03:00
parent d29259b134
commit 958167b91c

View file

@ -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)