From: Vladimir 'phcoder' Serbinenko Date: Wed, 16 Oct 2013 23:28:24 +0000 (+0200) Subject: * grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not X-Git-Tag: grub-2.02-beta1~669 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9688cae2ebf43a76cb062634d76af7f5f43aaf48;p=thirdparty%2Fgrub.git * 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 --- diff --git a/ChangeLog b/ChangeLog index eebaf83c8..1c4ebbc4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-10-17 Vladimir Serbinenko + + * 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 + 2013-10-17 Vladimir Serbinenko * util/grub-mkstandalone.in: Remove needless copying since we already diff --git a/grub-core/script/yylex.l b/grub-core/script/yylex.l index 8fdcfef67..f7f463804 100644 --- a/grub-core/script/yylex.l +++ b/grub-core/script/yylex.l @@ -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; }