]> git.saurik.com Git - bison.git/blobdiff - src/scan-gram.l
* src/parse-gram.c, src/parse-gram.h: Regenerate.
[bison.git] / src / scan-gram.l
index d7606d928c1110e10599e1e5083e2fbdd2bed3b6..2f264f5f14e1860692a7345ec0b8da14e45d4be7 100644 (file)
@@ -103,8 +103,8 @@ static void unexpected_newline (boundary, char const *);
  /* Bracketed identifiers support. */
 %x SC_BRACKETED_ID SC_RETURN_BRACKETED_ID
 
  /* Bracketed identifiers support. */
 %x SC_BRACKETED_ID SC_RETURN_BRACKETED_ID
 
-letter   [-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]
-id       {letter}({letter}|[0-9])*
+letter   [.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]
+id       {letter}({letter}|[-0-9])*
 directive %{id}
 int      [0-9]+
 
 directive %{id}
 int      [0-9]+