Re: Erroring out on parser conflicts - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Erroring out on parser conflicts
Date
Msg-id 14585.1227618577@sss.pgh.pa.us
Whole thread Raw
In response to Erroring out on parser conflicts  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Erroring out on parser conflicts
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> While hacking on parser/gram.y just now I noticed in passing that the 
> automatically generated ecpg parser had 402 shift/reduce conflicts. 
> (Don't panic, the parser in CVS is fine.)  If you don't pay very close 
> attention, it is easy to miss this.  Considering also that we frequently 
> have to educate contributors that parser conflicts are not acceptable, 
> should we try to error out if we see conflicts?

Would "%expect 0" produce the same result in a less klugy way?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: [PATCHES] Solve a problem of LC_TIME of windows.
Next
From: Tom Lane
Date:
Subject: Re: blatantly a bug in the documentation