nitcc:: when removing a reduction in S/R, notify the token to not generate the reduce...
[nit.git] / contrib / nitcc / src / grammar.nit
index b3b2c6b..095072e 100644 (file)
@@ -1045,6 +1045,7 @@ class LRState
                end
                for t in removed_reduces do
                        guarded_reduce.keys.remove(t)
+                       t.reduces.remove(self)
                end
        end