* 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

@ -170,8 +170,8 @@ POS_MULTILINE {WORD}?\\\n
/* Reserved words */
"{" { RECORD; return GRUB_PARSER_TOKEN_LBR; }
"}" { 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; }
"do" { RECORD; return GRUB_PARSER_TOKEN_DO; }
"done" { RECORD; return GRUB_PARSER_TOKEN_DONE; }