diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1995-03-18 09:27:37 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1995-03-18 09:27:37 +0000 |
commit | f76cc4c9838f478ff9f8dbc5e4a4c36681700d7c (patch) | |
tree | 8843202e51f360ae166661af97704c85e51575cd /gen.c | |
parent | a564f393fa20da7ed88f0e2bd69ef5fff253db46 (diff) |
added do_yylineno
Diffstat (limited to 'gen.c')
-rw-r--r-- | gen.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1344,7 +1344,7 @@ void make_tables() gen_find_action(); skelout(); - if ( lex_compat ) + if ( do_yylineno ) { indent_puts( "if ( yy_act != YY_END_OF_BUFFER )" ); indent_up(); @@ -1518,7 +1518,7 @@ void make_tables() gen_NUL_trans(); skelout(); - if ( lex_compat ) + if ( do_yylineno ) { /* update yylineno inside of unput() */ indent_puts( "if ( c == '\\n' )" ); indent_up(); @@ -1531,7 +1531,7 @@ void make_tables() if ( bol_needed ) { indent_puts( "yy_current_buffer->yy_at_bol = (c == '\\n');" ); - if ( lex_compat ) + if ( do_yylineno ) { indent_puts( "if ( yy_current_buffer->yy_at_bol )" ); indent_up(); @@ -1540,7 +1540,7 @@ void make_tables() } } - else if ( lex_compat ) + else if ( do_yylineno ) { indent_puts( "if ( c == '\\n' )" ); indent_up(); |