> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > What does #include do? Doesn't it work?
>
> AFAICT it's only allowed in the C-code sections of gram.y, from which
> it's just transposed into the output .c file (as indeed you'd want;
> you wouldn't want your header files expanded when bison is run).
>
> I'm not seeing anything that supports inclusion of a file in the
> grammar-productions portion of gram.y.
It would be very easy to simulate the #include in the action section
using a small awk script. I can assist.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026