* "conflicts" on stderr
@ 2007-07-10 16:45 NightStrike
2007-07-10 17:15 ` Dave Korn
0 siblings, 1 reply; 2+ messages in thread
From: NightStrike @ 2007-07-10 16:45 UTC (permalink / raw)
To: Binutils
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: "conflicts" on stderr
2007-07-10 16:45 "conflicts" on stderr NightStrike
@ 2007-07-10 17:15 ` Dave Korn
0 siblings, 0 replies; 2+ messages in thread
From: Dave Korn @ 2007-07-10 17:15 UTC (permalink / raw)
To: 'NightStrike', 'Binutils'
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....
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-10 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-10 16:45 "conflicts" on stderr NightStrike
2007-07-10 17:15 ` Dave Korn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).