Urgent build problem with Re: patch to allow any character in keyword
Geoff Keating
geoffk@geoffk.org
Mon Jun 18 14:13:00 GMT 2001
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>
More information about the Cgen
mailing list