grub2/grub2-parser: accept no whitespace in grub menuentry
[petitboot] / discover / grub2 / grub2-parser.y
index 598f0feb4d3b0c76cb68137b209743d05b519536..527a61c9f996124489727bb95f55594447820698 100644 (file)
@@ -122,7 +122,7 @@ statement: {
        | "function" word delim '{' statements '}' {
                $$ = create_statement_function(parser, $2, $5);
        }
-       | "menuentry" words delim
+       | "menuentry" words delim0
                '{' statements '}' {
                $$ = create_statement_menuentry(parser, $2, $5);
        }