Re: Perl 5.12 complains about ecpg parser-hacking scripts
Michael Meskes <meskes@postgresql.org>
From: Michael Meskes <meskes@postgresql.org>
To: Andy Colson <andy@squeakycode.net>
Cc: Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgreSQL.org, meskes@postgresql.org, kris@shannon.id.au
Date: 2011-03-03T12:49:00Z
Lists: pgsql-hackers
On Wed, Mar 02, 2011 at 01:33:35PM -0600, Andy Colson wrote: > I thought Kris was going to work on this, but saw no progress, and I > was bored the other day, so I started working on it. > > Here is a parse.pl, with some major refactoring. > > I named it with a 2 so I could run it beside the original and diff em: Thanks for all the work. > I am sure there are new bugs. I have not run it on anything but > 9.0.1. Are there other .y files you might feed it? (something other > than backend/parser/gram.y?) I ran it against several versions and it always gave the right output. So i decided to just commit it to the archive so we can see if it breaks anything. The old script is still in there so in case of a major problem that I cannot foresee we can simply change the Makefile back to using parse.pl. 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 Jabber: michael.meskes at googlemail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL