Re: Re: gram.y PROBLEM with UNDER - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: gram.y PROBLEM with UNDER
Date
Msg-id 200005260215.WAA21498@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: gram.y PROBLEM with UNDER  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
List pgsql-hackers
> Bruce Momjian wrote:
> > 
> > > Tom Lane wrote:
> > > > If you don't get rid of those then your parser will behave in surprising
> > > > ways.  So far you have noticed the fallout from only one of those
> > > > conflicts, but every one of them is a potential bug.  Be advised that
> > > > gram.y patches that create unresolved conflicts will *not* be accepted.
> > >
> > > I thought shift/reduce conflicts were part and parcel of most language
> > > syntaxes. reduce/reduce being rather more naughty. The standard syntax
> > > already produces 95 shift/reduce conflicts. Can you clarify about
> > > unresolved conflicts not being accepted?
> > 
> > What?  I get zero here.  shift/reduce is sloppy programming.  We don't
> > do that here.  :-)
> 
> Hmm. Now I look, I think that was with an older pgsql. Maybe 6.5 or
> something. Have you guys done some black magic to get rid of them?
> 

They have not been there for _years_.  I see lots of open source stuff
with shift/reduce reports.  We don't.  It is tricky to remove them.  It
often involves adding duplicate actions to prevent the problems. 
Certain people are quite good at it, and are glad to help.


--  Bruce Momjian                        |  http://www.op.net/~candle 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Matthias Urlichs"
Date:
Subject: Re: Berkeley DB...
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: Orphaned locks in 7.0?