Re: [I|S]CONST/[I|S]const in gram.y - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [I|S]CONST/[I|S]const in gram.y
Date
Msg-id 3208.1226322769@sss.pgh.pa.us
Whole thread Raw
In response to [I|S]CONST/[I|S]const in gram.y  (Michael Meskes <meskes@postgresql.org>)
Responses Re: [I|S]CONST/[I|S]const in gram.y  (Michael Meskes <meskes@postgresql.org>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Short CVS question
Next
From: Zdenek Kotala
Date:
Subject: Re: WIP: Page space reservation (pgupgrade)