help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: yy_more_len: flex 2.4.25


From: John Millaway
Subject: Re: yy_more_len: flex 2.4.25
Date: Tue, 17 Dec 2002 18:49:03 -0500 (EST)

> When using yylineno option with the reentrant scanner, the generated
> scanner file includes this code:
>
> ------------------------------------------
> #ifdef YY_USE_LINENO
>   if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act]
>   {
>      int yyl;
>        for ( yyl = yy_more_len; yyl < yyleng; ++yyl )
>          if ( yytext[yyl] == '\n' )
>          ++yylineno;
>   }
> #endif
> -----------------------------------------
>
> This causes gcc to complain:

This bug has been fixed. Thank you for submitting the report! -John





reply via email to

[Prev in Thread] Current Thread [Next in Thread]