Re: Erroring out on parser conflicts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Erroring out on parser conflicts
Дата
Msg-id 14585.1227618577@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Erroring out on parser conflicts  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Erroring out on parser conflicts  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: [PATCHES] Solve a problem of LC_TIME of windows.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: blatantly a bug in the documentation