diff options
Diffstat (limited to 'src/starter/lex.yy.c')
-rw-r--r-- | src/starter/lex.yy.c | 43 |
1 files changed, 2 insertions, 41 deletions
diff --git a/src/starter/lex.yy.c b/src/starter/lex.yy.c index a903b154e..cd3535318 100644 --- a/src/starter/lex.yy.c +++ b/src/starter/lex.yy.c @@ -647,8 +647,6 @@ extern int yywrap (void ); #endif #endif - static void yyunput (int c,char *buf_ptr ); - #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif @@ -776,7 +774,7 @@ YY_DECL #line 134 "parser.l" -#line 780 "lex.yy.c" +#line 778 "lex.yy.c" if ( !(yy_init) ) { @@ -960,7 +958,7 @@ YY_RULE_SETUP #line 184 "parser.l" ECHO; YY_BREAK -#line 964 "lex.yy.c" +#line 962 "lex.yy.c" case YY_END_OF_BUFFER: { @@ -1288,43 +1286,6 @@ static int yy_get_next_buffer (void) return yy_is_jam ? 0 : yy_current_state; } - static void yyunput (int c, register char * yy_bp ) -{ - register char *yy_cp; - - yy_cp = (yy_c_buf_p); - - /* undo effects of setting up yytext */ - *yy_cp = (yy_hold_char); - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ - YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - register char *source = - &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; - - while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - YY_CURRENT_BUFFER_LVALUE->yy_n_chars = - (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; - - if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - (yytext_ptr) = yy_bp; - (yy_hold_char) = *yy_cp; - (yy_c_buf_p) = yy_cp; -} - #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) |