Mail Archives: djgpp/1998/07/08/11:01:33
Anton Helm (tony AT nt DOT tuwien DOT ac DOT at) wrote:
: Currently I see only 2 possible solutions:
: a) modify the *.c-file generated by flex
: (rather tricky, and not such a good idea if someone
: is going to change the *.l-file later...).
: b) implement *all* possible representations in the
: *.l-file. But, first this might be quite a list and
: second, this might result in conflicts with some other
: input tokens (which might be avoided by careful design).
I'd go for a. Write a perl or sed script that changes the revelant
line in the *.c-file generated by flex after flex has run.
Silence,
MartinS
- Raw text -