Re: help with bison

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: help with bison
Дата
Msg-id 26691.1018495448@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: help with bison  (Bear Giles <bgiles@coyotesong.com>)
Ответы Re: help with bison  (Bear Giles <bgiles@coyotesong.com>)
Список pgsql-hackers
Bear Giles <bgiles@coyotesong.com> writes:
> As an aside, is there any reason to treat TEMP and TEMPORARY as two
> separate identifiers?

Yes: if the lexer folds them together then unreserved_keyword can't
regenerate the equivalent name properly.  (Possibly this could be fixed
by making the lexer pass the input string as the value of a keyword
token, but I've not looked at details.)

You might be right that the grammar could benefit from some refactoring,
though I'm not at all sure if that really helps from an
execution-efficiency (number of states) standpoint.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: help with bison
Следующее
От: Bear Giles
Дата:
Сообщение: Re: help with bison