[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of states
Yup, that's one of the things I did to fix it when I did it without
states. However, I like the solution you sent, and will give it a shot.
I'll let you know.
--kd
> Hi again,
>
> I forgot to say: the main problem, in your grammar, was that
> "input_character" included the '$' character, so the lexer was doing as
> advertized: it matched the longest valid token, e.g. "$xxx" is longer
> than "$", so "$xxx" is a string_literal.
>
> Etienne
>