Re: Perl 5.12 complains about ecpg parser-hacking scripts

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andy Colson <andy(at)squeakycode(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, kris(at)shannon(dot)id(dot)au, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Perl 5.12 complains about ecpg parser-hacking scripts
Date: 2011-01-25 22:43:36
Message-ID: 1295995416.6430.6.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On sön, 2011-01-23 at 12:23 -0500, Tom Lane wrote:
> Andy Colson <andy(at)squeakycode(dot)net> writes:
> > Is there anyway to make bison/yacc/gcc/etc spit out the rule names?
>
> bison -v produces a debug output file that includes nicely cleaned-up
> versions of all the rules. But it includes a lot of other stuff too,
> and I'm not at all sure that the file format is stable across bison
> versions, so maybe depending on that isn't a hot idea.

Having maintained a gram.y -> keywords.sgml script based on that idea
for N years, I can report that this is not stable enough to work here.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-01-25 23:25:55 SSL Client Certificate pass phrases
Previous Message Peter Eisentraut 2011-01-25 22:35:07 Re: Per-column collation, the finale