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: Joe Buck <jbuck at synopsys dot com>
- Cc: Ziemowit Laski <zlaski at apple dot com>, 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: Wed, 29 Jan 2003 23:17:54 +0000 (GMT)
- Subject: Re: GCC-3.2.2 bootstrap FAILURE: 1 reduce/reduce conflict inobjc-parse.y
On Wed, 29 Jan 2003, Joe Buck wrote:
> I disagree. For languages that have a natural LALR(1) grammar, you are
> correct, but Objective-C is not necessarily such a language. If the current
> parser works, it is wrong to risk breaking it.
It has been suggested that cc1obj should be merged into cc1 (making
Objective-C a runtime dialect choice). If this is done before Neil's
parser is available, and if it isn't done by embedding two separate Bison
parsers in one executable, then these conflicts get introduced in the C
grammar and risk breaking that.
--
Joseph S. Myers
jsm28@cam.ac.uk