From: BVK Chaitanya Date: Sat, 4 Sep 2010 06:07:59 +0000 (+0530) Subject: merge with mainline X-Git-Tag: 1.99~594^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7af6505ba104a28c0bdc89ad31bcf80f9ae62ad8;p=thirdparty%2Fgrub.git merge with mainline --- 7af6505ba104a28c0bdc89ad31bcf80f9ae62ad8 diff --cc grub-core/script/yylex.l index 1a7084e53,45728dfb4..d4cad8097 --- a/grub-core/script/yylex.l +++ b/grub-core/script/yylex.l @@@ -169,7 -176,13 +176,12 @@@ MULTILINE {WORD}?((\"{DQCHR}*)|(\ "until" { RECORD; return GRUB_PARSER_TOKEN_UNTIL; } "while" { RECORD; return GRUB_PARSER_TOKEN_WHILE; } "function" { RECORD; return GRUB_PARSER_TOKEN_FUNCTION; } -"menuentry" { RECORD; return GRUB_PARSER_TOKEN_MENUENTRY; } + {MULTILINE} { + if (grub_lexer_unput (yytext, yyscanner)) + return GRUB_PARSER_TOKEN_BAD; + } + {NAME} { RECORD; return GRUB_PARSER_TOKEN_NAME; } {WORD} { RECORD;