Howdy,I'm trying to parse numbers using lexer states, and there aren't anyexplicit ending delimiters. Instead, I was hoping to rely on the t_*_errorfunctions to wrap up my token.It turns out, though, that the error handler will raise an error if thelexpos doesn't change. So I can't simply let t_error find the next non-matchingcharacter, wrap up my token, and change parser state back to something else.
Is this a bug?
If not, is there a generally accepted way to deal with the case where a
state doesn't end because of a visible delimiter, but simply because it
transitions somewhere else?
aTdHvAaNnKcSe,
=Austin