* src/scan-gram.l (SC_BRACED_CODE): Don't use `<.*>', it is too

eager.
* tests/actions.at (Exotic Dollars): New.
This commit is contained in:
Akim Demaille
2002-06-12 15:14:59 +00:00
parent 6c35d22c39
commit 75d1fe1611
4 changed files with 311 additions and 233 deletions

View File

@@ -437,7 +437,7 @@ blanks [ \t\f]+
"{" YY_OBS_GROW; braces_level++;
"$"("<".*">")?(-?[0-9]+|"$") { handle_dollar (yytext); }
"$"("<"[^>]+">")?(-?[0-9]+|"$") { handle_dollar (yytext); }
"@"(-?[0-9]+|"$") { handle_at (yytext); }
[^$@\[\]/\'\"\{\}\n\r]+ YY_OBS_GROW;