Moved here from...
(<INITIAL>","): Here. This causes stray "," to be treated
more uniformly.
<INITIAL,SC_AFTER_IDENTIFIER,SC_PRE_CODE>
{
[ \f\n\t\v] ;
<INITIAL,SC_AFTER_IDENTIFIER,SC_PRE_CODE>
{
[ \f\n\t\v] ;
+ "," warn_at (*loc, _("stray `,' treated as white space"));
- "/*" token_start = loc->start; context_state = YY_START; BEGIN SC_YACC_COMMENT;
+ "/*" {
+ token_start = loc->start;
+ context_state = YY_START;
+ BEGIN SC_YACC_COMMENT;
+ }
/* #line directives are not documented, and may be withdrawn or
modified in future versions of Bison. */
/* #line directives are not documented, and may be withdrawn or
modified in future versions of Bison. */
"|" rule_length = 0; return PIPE;
";" return SEMICOLON;
"|" rule_length = 0; return PIPE;
";" return SEMICOLON;
- "," {
- warn_at (*loc, _("stray `,' treated as white space"));
- }
-
{id} {
val->symbol = symbol_get (yytext, *loc);
id_loc = *loc;
{id} {
val->symbol = symbol_get (yytext, *loc);
id_loc = *loc;