From ff587ec7ad843d969d545468ef3a6a806fcf62c2 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 9 Sep 2015 05:30:52 -0400 Subject: [PATCH] nitcc:: when removing a reduction in S/R, notify the token to not generate the reduce action Signed-off-by: Jean Privat --- contrib/nitcc/src/grammar.nit | 1 + 1 file changed, 1 insertion(+) 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 -- 1.7.9.5