Re: Call for objections: revision of keyword classification - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Call for objections: revision of keyword classification
Date
Msg-id 200111090451.fA94pPY18123@candle.pha.pa.us
Whole thread Raw
In response to Re: Call for objections: revision of keyword classification  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
> 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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Call for objections: revision of keyword classification
Next
From: Tom Lane
Date:
Subject: Re: Enhanced index details using \d in psql