bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Errs structures in states


From: Angelo Borsotti
Subject: Errs structures in states
Date: Wed, 19 Feb 2014 14:39:51 +0100

Hi,

when resolving conflicts due to %nonassoc, bison creates errs structures
attached to states to hold the terminals that must be treated by the
parsing engine as errors. At the same time, it removes the shift transitions
and the lookaheads in reductions that have such conflicts.
However, it seems that such errs structures have no effect: the parse tables
are the same as if the errs structures did non exist.
If that is the case, then they could be removed.
Is this correct?

Thank you
-Angelo Borsotti


reply via email to

[Prev in Thread] Current Thread [Next in Thread]