version 1.10, 2003/06/04 17:34:44 |
version 1.11, 2004/02/03 21:20:17 |
|
|
indent_puts( "if ( yy_act == 0 )" ); |
indent_puts( "if ( yy_act == 0 )" ); |
indent_up(); |
indent_up(); |
indent_puts( C_plus_plus ? |
indent_puts( C_plus_plus ? |
"cerr << \"--scanner backing up\\n\";" : |
"std::cerr << \"--scanner backing up\\n\";" : |
"fprintf( stderr, \"--scanner backing up\\n\" );" ); |
"fprintf( stderr, \"--scanner backing up\\n\" );" ); |
indent_down(); |
indent_down(); |
|
|
|
|
if ( C_plus_plus ) |
if ( C_plus_plus ) |
{ |
{ |
indent_puts( |
indent_puts( |
"cerr << \"--accepting rule at line \" << yy_rule_linenum[yy_act] <<" ); |
"std::cerr << \"--accepting rule at line \" << yy_rule_linenum[yy_act] <<" ); |
indent_puts( |
indent_puts( |
" \"(\\\"\" << yytext << \"\\\")\\n\";" ); |
" \"(\\\"\" << yytext << \"\\\")\\n\";" ); |
} |
} |
|
|
if ( C_plus_plus ) |
if ( C_plus_plus ) |
{ |
{ |
indent_puts( |
indent_puts( |
"cerr << \"--accepting default rule (\\\"\" << yytext << \"\\\")\\n\";" ); |
"std::cerr << \"--accepting default rule (\\\"\" << yytext << \"\\\")\\n\";" ); |
} |
} |
else |
else |
{ |
{ |
|
|
indent_up(); |
indent_up(); |
|
|
indent_puts( C_plus_plus ? |
indent_puts( C_plus_plus ? |
"cerr << \"--(end of buffer or a NUL)\\n\";" : |
"std::cerr << \"--(end of buffer or a NUL)\\n\";" : |
"fprintf( stderr, \"--(end of buffer or a NUL)\\n\" );" ); |
"fprintf( stderr, \"--(end of buffer or a NUL)\\n\" );" ); |
|
|
indent_down(); |
indent_down(); |
|
|
if ( C_plus_plus ) |
if ( C_plus_plus ) |
{ |
{ |
indent_puts( |
indent_puts( |
"cerr << \"--EOF (start condition \" << YY_START << \")\\n\";" ); |
"std::cerr << \"--EOF (start condition \" << YY_START << \")\\n\";" ); |
} |
} |
else |
else |
{ |
{ |