Re: keyword list/ecpg - Mailing list pgsql-hackers

From Tom Lane
Subject Re: keyword list/ecpg
Date
Msg-id 26658.1211895842@sss.pgh.pa.us
Whole thread Raw
In response to Re: keyword list/ecpg  (Michael Meskes <meskes@postgresql.org>)
Responses Re: keyword list/ecpg  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Michael Meskes <meskes@postgresql.org> writes:
> On Mon, May 26, 2008 at 04:15:18PM -0400, Tom Lane wrote:
>> AFAIK bison doesn't have an "include" capability, so I'm not sure how
>> you plan to make that work?

> You found the weak part in my idea. :-)

> How about a small perl script that is run before bison and creates the
> real grammar file?

If we were going to do that, I'd want it to go all the way and somehow
generate the common parts of the two .y files from a single source.
That'd be enough of a step forward that it would be worth whatever
ugliness is needed to make it happen ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: ERRORDATA_STACK_SIZE panic crashes on Windows
Next
From: Aidan Van Dyk
Date:
Subject: Re: WITH RECURSIVE patches V0.1 TODO items