help-flex
[Top][All Lists]
Advanced

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

Re: Buffer problem


From: Bruce Lilly
Subject: Re: Buffer problem
Date: Tue, 28 Dec 2004 21:47:08 -0500
User-agent: KMail/1.7.2

On Tue December 28 2004 14:01, Hans Aberg wrote:
> I have a buffer problem with the scan-skel lexer that comes with Bison 2.0.
> I use a special tweak, so it may have nothing to do with that program. After
> scanning a little less than 8 kB, the scanner first ends up at end of buffer
> EOB_ACT_LAST_MATCH, after which it rescans, scans a few character of the
> current rule, the rescans, ending up end of buffer EOB_ACT_END_OF_FILE, then
> terminating. Then number of character it dies at is always the same, even if
> I change the input file. So it seems like a buffer problem. What might cause
> it?

That depends; what version of flex are you using, what options
are being passed to it (environment LFLAGS if you're using the
bison Makefile), what is the "special tweak"?  Do you get any
diagnostics when running flex, or when compiling the generated
C file (try enabling flex & compiler options)?




reply via email to

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