This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC-3.2.2 bootstrap FAILURE: 1 reduce/reduce conflict inobjc-parse.y
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Ziemowit Laski <zlaski at apple dot com>
- Cc: Gabriel Dos_Reis <gdosreis at sophia dot inria dot fr>, <gcc-bugs at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>
- Date: Tue, 28 Jan 2003 23:38:47 +0000 (GMT)
- Subject: Re: GCC-3.2.2 bootstrap FAILURE: 1 reduce/reduce conflict inobjc-parse.y
On Tue, 28 Jan 2003, Ziemowit Laski wrote:
> I respectfully part company. :-) The grammar must, first and
> foremost, be readable and maintainable. Why else would one use a
> parser generator in the first place?
Maintainability is the reason to avoid parser conflicts. Every change to
a parser that changes the number of conflicts requires all the conflicts
to be examined carefully to ensure that the parser will parse correctly in
each case and that no conflicts have been added without good reason.
--
Joseph S. Myers
jsm28@cam.ac.uk