From: Jean Privat Date: Wed, 9 Sep 2015 09:26:46 +0000 (-0400) Subject: nitcc: remove reduction even in non-dangling S/R conflict X-Git-Tag: v0.7.8~38^2~5 X-Git-Url: http://nitlanguage.org nitcc: remove reduction even in non-dangling S/R conflict Signed-off-by: Jean Privat --- diff --git a/contrib/nitcc/src/grammar.nit b/contrib/nitcc/src/grammar.nit index fc10a98..0a10beb 100644 --- a/contrib/nitcc/src/grammar.nit +++ b/contrib/nitcc/src/grammar.nit @@ -1038,6 +1038,7 @@ class LRState print "SHIFT/REDUCE Conflict on state {self.number} {self.name} for token {t}:" print "\treduce: {ri}" for i in guarded_shift[t] do print "\tshift: {i}" + removed_reduces.add t end end end