This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Urgent build problem with Re: patch to allow any character in keyword
Aah, I see. The original keyword matcher looked for a sequence of the
form
.[a-zA-Z0-9_]*
The new one looks at what nonalpha characters are actually in
keywords ':chars:', and then tries to match
[:chars:a-zA-Z0-9]*
We could try changing this to
.[:chars:a-zA-Z0-9]*
which would probably fix your problem. Of course, it'd be better if
there was a real lexer for this sort of thing.
--
- Geoffrey Keating <geoffk@geoffk.org>