This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: "conflicts" on stderr
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'NightStrike'" <nightstrike at gmail dot com>, "'Binutils'" <binutils at sourceware dot org>
- Date: Tue, 10 Jul 2007 18:08:44 +0100
- Subject: RE: "conflicts" on stderr
- References: <b609cb3b0707100937h3edcfa93h9338fc258f734173@mail.gmail.com>
On 10 July 2007 17:37, NightStrike wrote:
> When compiling binutils, I see a number of messages outputted to
> stderr similar to the following:
>
> conflicts: 52 shift/reduce, 10 reduce/reduce
>
> What do these lines mean?
It's an informational message from bison when it analyses the grammar in a
.y file. The amount of conflicts govern the potential amount of backtracking
the parser has to do as they represent situations in which the grammar
requires disambiguation. In general the fewer the better because the parser
will run quicker, but it's not a bug.
cheers,
DaveK
--
Can't think of a witty .sigline today....