gnupic: A question about parse.y
Subject:
Re: A question about parse.y
From:
Ralph Corderoy ####@####.####
Date:
24 Aug 2012 09:31:46 -0000
Message-Id: <20120824093141.9F767274F5@orac.inputplus.co.uk>
Hi,
> > Using this directive bison -d -vt parse.y in terminal, And I get
> > this output --- conflicts : 26 shift/reduce.
>
> Yes, it's normal; it happens when a grammar is ambiguous.
I too don't know the specifics of this case but assuming each of the 26
is happy with bison's default action and that the grammar can't be
easily re-worked to lessen them then bison has a %expect directive so 26
can be stated removing the warning unless it deviates in the future.
http://www.gnu.org/software/bison/manual/html_node/Expect-Decl.html
Cheers, Ralph.