Thread: lex/flex portability PB in version 6.3.1

lex/flex portability PB in version 6.3.1

From
Erwan MAS
Date:
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 .....

bye


--
     ____________________________________________________________
    / Erwan MAS                                                 /\
   | mailto:erwanmas@geocities.com                             |_/
   | http://www.geocities.com/SiliconValley/Heights/8685/      |
___|________________________________________________________   |
\___________________________________________________________\__/


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

From
The Hermit Hacker
Date:
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...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org