Re: Perl 5.12 complains about ecpg parser-hacking scripts - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Perl 5.12 complains about ecpg parser-hacking scripts
Date
Msg-id 1295995416.6430.6.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Perl 5.12 complains about ecpg parser-hacking scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On sön, 2011-01-23 at 12:23 -0500, Tom Lane wrote:
> Andy Colson <andy@squeakycode.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.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Per-column collation, the finale
Next
From: Andrew Dunstan
Date:
Subject: SSL Client Certificate pass phrases