Re: [I|S]CONST/[I|S]const in gram.y

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [I|S]CONST/[I|S]const in gram.y
Дата
Msg-id 3208.1226322769@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [I|S]CONST/[I|S]const in gram.y  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: [I|S]CONST/[I|S]const in gram.y  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Michael Meskes <meskes@postgresql.org> writes:
> is there a reason why we sometimes use ICONST and SCONST directly in a rule in
> gram.y yet in other rules use Iconst and Sconst which in turn resolve to ICONST
> and SCONST? Some rules even use ICONST and Sconst, so there does not be any
> consistency.

Seems like an obvious no-op.

> If this has no reason I'd like to make all rules use the same
> symbol which will make gram.y be consequent in its symbol usage and simplify my
> work to generate the ecpg parser out of an unchanged gram.y at the same time.

Which direction are you hoping to go --- remove Iconst/Sconst, or use
them everywhere?
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Short CVS question
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: WIP: Page space reservation (pgupgrade)