and! Bison vs yacc Re: Flex vs Lex

From: Alfred Perlstein <bright(at)wintelcom(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: and! Bison vs yacc Re: Flex vs Lex
Date: 2000-08-20 20:41:36
Message-ID: 20000820134136.E4854@fw.wintelcom.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Peter Eisentraut <peter_e(at)gmx(dot)net> [000820 04:06] wrote:
> Barring protests, I will instruct configure and the makefiles to only look
> for and use Flex rather than any old Lex, since the latter won't work
> anyway. If at a later date someone has a burning desire to make things
> work with FooNix Lex it should be a relatively simple change back -- in
> any case simpler than making that other lex work in the first place.

I'm not sure if it's still an issue but FreeBSD has removed bison
from the base system (I think NetBSD has as well but it was a long
time ago) the problem is that last I checked FreeBSD's yacc can't
handle one of postgresql's grammar description files and therefore
requires bison to be present.

Basically the configure script ought to abort if bison isn't found,
yacc doesn't work as a replacement.

--
-Alfred Perlstein - [bright(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
"I have the heart of a child; I keep it in a jar on my desk."

In response to

  • Flex vs Lex at 2000-08-20 10:54:52 from Peter Eisentraut

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-08-20 21:00:07 Re: and! Bison vs yacc Re: Flex vs Lex
Previous Message David Lloyd-Jones 2000-08-20 20:37:30 How Do You Pronounce "PostgreSQL"?