Thread: New flex

New flex

From
Oliver Elphick
Date:
Debian has just upgraded flex to 2.5.31.  This breaks the contrib
modules that use flex (cube, seg and tsearch) and probably also the main
scanner.

Is anyone looking at changing the lexer sources to work with the new
flex?

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "But as many as received him, to them gave he power to      become the sons
ofGod, even to them that believe on      his name."    John 1:12 
 



Re: New flex

From
Tom Lane
Date:
Oliver Elphick <olly@lfix.co.uk> writes:
> Debian has just upgraded flex to 2.5.31.

2.5.31 is not ready for prime time --- it does not even compile on
HPUX, Solaris, nor probably many other Unixen; and it seems to break
compatibility with the POSIX lex spec.  See
http://sourceforge.net/mailarchive/forum.php?forum_id=32691

> Is anyone looking at changing the lexer sources to work with the new
> flex?

If I could compile it, I might think about investigating such issues...
in the meantime I suggest backing off to a less bleeding-edge flex.
        regards, tom lane