]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* script/yylex.l (NAME): Remove [:digit:], redundant with [:alnum:].
authorColin Watson <cjwatson@ubuntu.com>
Sun, 1 Aug 2010 16:28:12 +0000 (11:28 -0500)
committerColin Watson <cjwatson@ubuntu.com>
Sun, 1 Aug 2010 16:28:12 +0000 (11:28 -0500)
ChangeLog
script/yylex.l

index 1c15338418b2a544150d3ea34e2b2fbe1fde83e5..83ac0b37b7372e228d53787df018c31ad5200d67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-01  Colin Watson  <cjwatson@ubuntu.com>
+
+       * script/yylex.l (NAME): Remove [:digit:], redundant with [:alnum:].
+
 2010-08-01  Colin Watson  <cjwatson@ubuntu.com>
 
        * docs/grub.texi (Simple configuration): Document GRUB_CMDLINE_XEN
index 7d4ea9e4e3027683a716c003cff42393b841b1f4..e9659832bdca9b5fe1c17d6bf555a36f337e1d69 100644 (file)
@@ -116,7 +116,7 @@ COMMENT         #.*$
 
 CHAR            [^{}|&$;<> \t\n\'\"\\]
 DIGITS          [[:digit:]]+
-NAME            [[:alpha:]_][[:alnum:][:digit:]_]*
+NAME            [[:alpha:]_][[:alnum:]_]*
 
 ESC             \\.
 VARIABLE        ${NAME}|$\{{NAME}\}|${DIGITS}|$\{{DIGITS}\}|$\?|$\{\?\}