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

From Michael Meskes
Subject Re: keyword list/ecpg
Date
Msg-id 20080527080347.GA30368@feivel.credativ.de
Whole thread Raw
In response to Re: keyword list/ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: keyword list/ecpg  (Hannu Krosing <hannu@krosing.net>)
Re: keyword list/ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, May 26, 2008 at 04:15:18PM -0400, Tom Lane wrote:
> > Does anyone object to moving the symbol definition part to a file of its
> > own that's inluded by both parser? Or does anyone have a better idea?
> 
> 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?

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: WITH RECURSIVE patches V0.1 TODO items
Next
From: Hannu Krosing
Date:
Subject: Re: keyword list/ecpg