On sön, 2011-01-23 at 12:23 -0500, Tom Lane wrote: > Andy Colson <a...@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. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers