mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/scan-gram.l (id): Can start with an underscore.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-07-19 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/scan-gram.l (id): Can start with an underscore.
|
||||
|
||||
2002-07-16 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/assoc.c, src/asssoc.h (assoc_t, assoc_to_string): New.
|
||||
|
||||
@@ -499,7 +499,7 @@ static yyconst short int yy_nxt[891] =
|
||||
{ 0,
|
||||
20, 21, 22, 23, 24, 20, 25, 26, 20, 20,
|
||||
27, 28, 29, 29, 30, 31, 32, 33, 20, 20,
|
||||
27, 20, 20, 20, 20, 27, 27, 27, 27, 27,
|
||||
27, 20, 20, 20, 27, 27, 27, 27, 27, 27,
|
||||
27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
|
||||
27, 27, 27, 27, 27, 27, 27, 34, 35, 20,
|
||||
37, 38, 112, 37, 38, 113, 39, 89, 90, 39,
|
||||
|
||||
@@ -90,7 +90,7 @@ static void handle_at PARAMS ((braced_code_t code_kind,
|
||||
%x SC_ESCAPED_STRING SC_ESCAPED_CHARACTER
|
||||
%x SC_BRACED_CODE SC_PROLOGUE SC_EPILOGUE
|
||||
|
||||
id [.a-zA-Z][.a-zA-Z_0-9]*
|
||||
id [.a-zA-Z_][.a-zA-Z_0-9]*
|
||||
int [0-9]+
|
||||
eols (\n|\r|\n\r|\r\n)+
|
||||
blanks [ \t\f]+
|
||||
|
||||
Reference in New Issue
Block a user