GCC-3.2.2 bootstrap FAILURE: 1 reduce/reduce conflict in objc-parse.y

Joseph S. Myers jsm28@cam.ac.uk
Thu Jan 30 02:07:00 GMT 2003


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



More information about the Gcc mailing list