Re: [HACKERS] lex/flex portability PB in version 6.3.1

Andrew Martin <martin@biochemistry.ucl.ac.uk>

From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
To: The Hermit Hacker <scrappy@hub.org>
Cc: pgsql-hackers@postgresql.org
Date: 1998-04-06T09:34:23Z
Lists: pgsql-hackers
> On Sat, 4 Apr 1998, Erwan MAS wrote:
> 
> > Hello ,
> > 
> > in version 6.3.1 of the file src/interfaces/ecpg/preproc/pgc.l .
> > There are some flex specific code .
> > like :
> >   %option ( no fatal )
> >   <<EOF>> ( fatal error )
> > 
> > my os was solaris 2.6. with standart lex .
> > 
> > So if i want to compile , postgres I must use flex .....
> 
> 	Actually, I hate to say it, but its pretty much recommended that
> anyone using PostgreSQL use flex/bison...in particular, we're starting to
> find that 'stock yacc' on some systems chocks on gram.y, because its just
> gotten to be *very* large...
> 

6.3.1 now breaks under Irix lex as well.

If we're going to REQUIRE flex rather than lex, this MUST be made clear
in the installation docs!!!!


Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin                             University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk    (Home) andrew@stagleys.demon.co.uk
URL:   http://www.biochem.ucl.ac.uk/~martin
Tel:   (Work) +44(0)171 419 3890                    (Home) +44(0)1372 275775