gram.y => preproc.y

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: gram.y => preproc.y
Date: 2008-11-01 19:55:37
Message-ID: 20081101195537.GA28198@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I finally have a working version. Please have a look at the attached files
including a changed version of gram.y and and automatically created version of
preproc.y. To recreate just run "awk -f parse.awk < gram.y > preproc.y".

Is it okay to change gram.y this way? It does run the regression suite
successfully.

I'd like to do some more tests on the ecpg side, but this version also runs the
regression suite successfully, well sort of. There are quite a lot of cosmetic
differences, mostly whitespaces and some different writings of
commit/begin/..., but no functional difference any more.

To test you need an up-to-date HEAD because ecpglib didn't like an additional blank.

Comments/improvements/bug reports welcome.

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-01 20:07:35 Re: PG_PAGE_LAYOUT_VERSION 5 - time for change
Previous Message Emmanuel Cecchet 2008-11-01 19:49:58 Re: Well done, Hackers