]> git.proxmox.com Git - grub2.git/commitdiff
* grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 16 Oct 2013 23:28:24 +0000 (01:28 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 16 Oct 2013 23:28:24 +0000 (01:28 +0200)
currently used so this doesn't really have any effect.
Reported by:   Douglas Ray <dougray>

ChangeLog
grub-core/script/yylex.l

index eebaf83c8d3a9f41fd4a110f71d5b31827d0e86f..1c4ebbc4fbd6c4fc24e02fd0e1f7a99a4c00ef97 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * util/grub-mkstandalone.in: Remove needless copying since we already
index 8fdcfef67750c9e995aed32eba87d714b546cee6..f7f46380429e29b5c5d57ffff576eccb34336715 100644 (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;      }