Re: [PATCHES] [HACKERS] parser dilemma

2007-04-21 Thread Zoltan Boszormenyi
Andrew Dunstan írta: Zoltan Boszormenyi wrote: On the other hand, marking GENERATED as %right solves this issue. I hope it's an acceptable solution. If anything I should have thought it would be marked %nonassoc. cheers andrew That works, too. Best regards, Zoltán Böszörményi -- ---

Re: [PATCHES] [HACKERS] parser dilemma

2007-04-21 Thread Tom Lane
Zoltan Boszormenyi <[EMAIL PROTECTED]> writes: > Andrew Dunstan írta: >> Zoltan Boszormenyi wrote: >>> On the other hand, marking GENERATED as %right >>> solves this issue. I hope it's an acceptable solution. >> >> If anything I should have thought it would be marked %nonassoc. > That works, too.

Re: [PATCHES] [HACKERS] parser dilemma

2007-04-21 Thread Zoltan Boszormenyi
Tom Lane írta: Zoltan Boszormenyi <[EMAIL PROTECTED]> writes: Andrew Dunstan írta: Zoltan Boszormenyi wrote: On the other hand, marking GENERATED as %right solves this issue. I hope it's an acceptable solution. If anything I should have thought it would be marked %nona

Re: [PATCHES] [HACKERS] parser dilemma

2007-04-21 Thread Tom Lane
Zoltan Boszormenyi <[EMAIL PROTECTED]> writes: > Tom Lane írta: >> [ a bit alarmed... ] This is only going to be an acceptable solution >> if you can explain *exactly why* it works. The general story with >> associativity/precedence declarations is that you are making bison >> resolve ambiguous s