|
Lines 1070-1080
Link Here
|
| 1070 |
if ( yymore_used && ! yytext_is_array ) |
1070 |
if ( yymore_used && ! yytext_is_array ) |
| 1071 |
{ |
1071 |
{ |
| 1072 |
indent_puts( "yytext_ptr -= yy_more_len; \\" ); |
1072 |
indent_puts( "yytext_ptr -= yy_more_len; \\" ); |
| 1073 |
indent_puts( "yyleng = (int) (yy_cp - yytext_ptr); \\" ); |
1073 |
indent_puts( "yyleng = (size_t) (yy_cp - yytext_ptr); \\" ); |
| 1074 |
} |
1074 |
} |
| 1075 |
|
1075 |
|
| 1076 |
else |
1076 |
else |
| 1077 |
indent_puts( "yyleng = (int) (yy_cp - yy_bp); \\" ); |
1077 |
indent_puts( "yyleng = (size_t) (yy_cp - yy_bp); \\" ); |
| 1078 |
|
1078 |
|
| 1079 |
/* Now also deal with copying yytext_ptr to yytext if needed. */ |
1079 |
/* Now also deal with copying yytext_ptr to yytext if needed. */ |
| 1080 |
skelout(); |
1080 |
skelout(); |
|
Lines 1341-1347
Link Here
|
| 1341 |
outn( |
1341 |
outn( |
| 1342 |
"\tif ( yy_current_buffer->yy_is_interactive ) \\" ); |
1342 |
"\tif ( yy_current_buffer->yy_is_interactive ) \\" ); |
| 1343 |
outn( "\t\t{ \\" ); |
1343 |
outn( "\t\t{ \\" ); |
| 1344 |
outn( "\t\tint c = '*', n; \\" ); |
1344 |
outn( "\t\tint c = '*'; \\"); |
|
|
1345 |
outn( "\t\tsize_t n; \\" ); |
| 1345 |
outn( "\t\tfor ( n = 0; n < max_size && \\" ); |
1346 |
outn( "\t\tfor ( n = 0; n < max_size && \\" ); |
| 1346 |
outn( "\t\t\t (c = getc( yyin )) != EOF && c != '\\n'; ++n ) \\" ); |
1347 |
outn( "\t\t\t (c = getc( yyin )) != EOF && c != '\\n'; ++n ) \\" ); |
| 1347 |
outn( "\t\t\tbuf[n] = (char) c; \\" ); |
1348 |
outn( "\t\t\tbuf[n] = (char) c; \\" ); |