Re: Call for objections: revision of keyword classification

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Call for objections: revision of keyword classification
Дата
Msg-id 200111090451.fA94pPY18123@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Call for objections: revision of keyword classification  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Call for objections: revision of keyword classification
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Enhanced index details using \d in psql