Re: Call for objections: revision of keyword classification

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thomas Lockhart <lockhart(at)fourpalms(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Call for objections: revision of keyword classification
Date: 2001-11-09 04:51:25
Message-ID: 200111090451.fA94pPY18123@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-11-09 04:52:28 Re: Call for objections: revision of keyword classification
Previous Message Marc G. Fournier 2001-11-09 04:46:21 Re: Call for objections: revision of keyword classification

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-11-09 04:52:28 Re: Call for objections: revision of keyword classification
Previous Message Marc G. Fournier 2001-11-09 04:46:21 Re: Call for objections: revision of keyword classification