From: Jean Privat Date: Wed, 9 Sep 2015 09:30:52 +0000 (-0400) Subject: nitcc:: when removing a reduction in S/R, notify the token to not generate the reduce... X-Git-Tag: v0.7.8~38^2~3 X-Git-Url: http://nitlanguage.org nitcc:: when removing a reduction in S/R, notify the token to not generate the reduce action Signed-off-by: Jean Privat --- diff --git a/contrib/nitcc/src/grammar.nit b/contrib/nitcc/src/grammar.nit index b3b2c6b..095072e 100644 --- a/contrib/nitcc/src/grammar.nit +++ b/contrib/nitcc/src/grammar.nit @@ -1045,6 +1045,7 @@ class LRState end for t in removed_reduces do guarded_reduce.keys.remove(t) + t.reduces.remove(self) end end