I wrote:
> John Naylor <john.naylor@enterprisedb.com> writes:
>> With a bit of work, we could probably get rid of those includes. See
>> 27199058d98ef7f for one example.
> Yeah --- it would mean creating gram.h files for all the bison grammars
> not just a few of them, but it's certainly do-able if there's motivation
> to make the changes. Most of the files that are done that way date
> from before we knew about flex's %top.
BTW, 72b1e3a21 is another useful precedent in this area.
regards, tom lane