* grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not

currently used so this doesn't really have any effect.
	Reported by:  	Douglas Ray <dougray>
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-17 01:28:24 +02:00
parent 8154884dd4
commit 9688cae2eb
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2013-10-17 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not
currently used so this doesn't really have any effect.
Reported by: Douglas Ray <dougray>
2013-10-17 Vladimir Serbinenko <phcoder@gmail.com> 2013-10-17 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkstandalone.in: Remove needless copying since we already * util/grub-mkstandalone.in: Remove needless copying since we already

View file

@ -170,8 +170,8 @@ POS_MULTILINE {WORD}?\\\n
/* Reserved words */ /* Reserved words */
"{" { RECORD; return GRUB_PARSER_TOKEN_LBR; } "{" { RECORD; return GRUB_PARSER_TOKEN_LBR; }
"}" { RECORD; return GRUB_PARSER_TOKEN_RBR; } "}" { RECORD; return GRUB_PARSER_TOKEN_RBR; }
"[[" { RECORD; return GRUB_PARSER_TOKEN_RSQBR2; } "[[" { RECORD; return GRUB_PARSER_TOKEN_LSQBR2; }
"]]" { RECORD; return GRUB_PARSER_TOKEN_LSQBR2; } "]]" { RECORD; return GRUB_PARSER_TOKEN_RSQBR2; }
"case" { RECORD; return GRUB_PARSER_TOKEN_CASE; } "case" { RECORD; return GRUB_PARSER_TOKEN_CASE; }
"do" { RECORD; return GRUB_PARSER_TOKEN_DO; } "do" { RECORD; return GRUB_PARSER_TOKEN_DO; }
"done" { RECORD; return GRUB_PARSER_TOKEN_DONE; } "done" { RECORD; return GRUB_PARSER_TOKEN_DONE; }