* src/scan-gram.l (id): Can start with an underscore.

This commit is contained in:
Akim Demaille
2002-07-19 08:31:32 +00:00
parent a945ec3929
commit 5dde258a9e
3 changed files with 6 additions and 2 deletions

View File

@@ -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.

View File

@@ -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,

View File

@@ -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]+