diff options
Diffstat (limited to 'discover/grub2/parser.y')
-rw-r--r-- | discover/grub2/parser.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/discover/grub2/parser.y b/discover/grub2/parser.y index a8c02e2..d57c732 100644 --- a/discover/grub2/parser.y +++ b/discover/grub2/parser.y @@ -73,7 +73,9 @@ statement: TOKEN_EOL { | words TOKEN_EOL { $$ = create_statement_simple(parser, $1); } - | '{' statements '}' { $$ = NULL; } + | '{' statements '}' { + $$ = create_statement_block(parser, $2); + } | "if" TOKEN_DELIM statement "then" TOKEN_EOL statements |