Commit 2602133b authored by petter's avatar petter

even more superfluos S/R conflicts removed

git-svn-id: https://www2.in.tum.de/repos/cup/develop@63 f8377d4f-c7f8-0310-b030-a31f13008fac
parent 411799e4
......@@ -818,11 +818,12 @@ public class lalr_state {
/* only look if its not the same item and not a reduce */
if (itm != red_itm && !itm.dot_at_end())
{
relevancecounter++;
/* is it a shift on our conflicting terminal */
shift_sym = itm.symbol_after_dot();
if (!shift_sym.is_non_term() && shift_sym.index() == conflict_sym)
{
relevancecounter++;
/* yes, report on it */
message += " and " + itm.to_simple_string()+"\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment