LEX rule, anyone???
T. William Wells
bill at twwells.com
Fri Dec 8 06:37:38 AEST 1989
In article <616 at chem.ucsd.EDU> tps at chem.ucsd.edu (Tom Stockfisch) writes:
: In article <1989Dec6.180833.2985 at twwells.com> bill at twwells.com (T. William Wells) writes:
:
: >... start states are not reliable with lex. After
: >being bitten by them for the n'th time, I switched to flex.
:
: I know of a bug that involves variable length trailing contexts (this
: happens in flex, too), but I've never run into a bug with start states.
: Can you give specifics?
I don't know what triggers it, but, in certain cases, an RE that
is in some start state gets recognized, even when the program is
not in that start state. I've been bitten by this one three
times, on three different machines (a VAX, a Sun, and a '386), so
it appears to be a generic problem with lex.
---
Bill { uunet | novavax | ankh | sunvice } !twwells!bill
bill at twwells.com
More information about the Comp.lang.c
mailing list