Commit 96575236 authored by Johannes Roith's avatar Johannes Roith

Pass the conflicting states ...

parent ae6aaf7d
...@@ -886,9 +886,10 @@ public class lalr_state { ...@@ -886,9 +886,10 @@ public class lalr_state {
shift_sym = itm.symbol_after_dot(); shift_sym = itm.symbol_after_dot();
if (!shift_sym.is_non_term() && shift_sym.index() == conflict_sym) if (!shift_sym.is_non_term() && shift_sym.index() == conflict_sym)
{ {
/* yes, report on it */ conflictingItems.add(itm);
/* yes, report on it */
message += " and " + itm.to_simple_string()+"\n"; message += " and " + itm.to_simple_string()+"\n";
} }
} }
} }
terminal.terminal_shared shared = terminal.getShared(context); terminal.terminal_shared shared = terminal.getShared(context);
......
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