[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flex question
From: |
W. L. Estes |
Subject: |
Re: flex question |
Date: |
Thu, 18 Oct 2001 13:05:36 -0400 |
> I got your name as the current flex maintenance person from Vern Paxson.
>
> I'm using flex 2.5.4 on Linux system for a relatively large compiler system
> called Jeda (See www.jeda.org). And I'm getting the following error on
> one of the standalone tests.
>
> fatal flex scanner internal error--end of buffer missed
>
> At the error point, yy_c_buf_p is off by one to
> &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] value.
> Here's the gdb print.
>
> (gdb) p yy_c_buf_p
> $1 = 0x80ee7b2 ""
> (gdb) p yy_n_chars
> $2 = 8192
> (gdb) p &yy_current_buffer->yy_ch_buf[yy_n_chars + 1]
> $3 = 0x80ee7b1 ""
> (gdb)
>
> This problem happens only on one test case, and other 75 tests passes OK.
> gcc version I'm using on the Linux system (Red Hat 7.1) is egcs-2.91.66.
> The same input works fine if I use 'lex' on a Sun Solaris machine.
>
> It would be great if you can guide me on how to solve this or
> how to find a workaround on this.
Could you provide some sample input which exhibits the bug you
describe?
Thanks,
--Will
- Re: flex question,
W. L. Estes <=