The creators of flex were rather mean to go and change the internal
API without even incrementing the major version. But that's what they
did. Now Parrot doesn't work with current flex.
We should make imcc.l (and any other lexers) compatible with modern
flex versions.
Frankly I've never really like flex, but as long as we're using it,
let's use the current version.
--
Chip Salzenberg - a.k.a. - <ch...@pobox.com>
Open Source is not an excuse to write fun code
then leave the actual work to others.
Only reason I chose flex was that it is the only one I was able to compile
on Win32 as well as UNIX. If you know of something better let me know
because I'd love to use it for my current and future projects.
I'm using flex++ on my current compiler because its nice to be able to
easily instantiate multiple lexers without hacking the plain C flex, however
lately I'm having second thoughts because it forces me to link in iostream
which is huge. I think I'm going back to STDIO.
-Melvin
Sorry, that's the old one. The new one is 2.5.31 or so.
Yes, the maintainers of flex made an incompatible change in the middle
of the 2.5.* version series. Grr.
--
Chip Salzenberg <ch...@pobox.com>