nitcc: fixup the .lr.out file
authorJean Privat <jean@pryen.org>
Fri, 19 Feb 2016 15:32:36 +0000 (10:32 -0500)
committerJean Privat <jean@pryen.org>
Mon, 22 Feb 2016 13:50:45 +0000 (08:50 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/nitcc/src/grammar.nit

index 040c6da..cb92bf3 100644 (file)
@@ -569,7 +569,7 @@ class LRAutomaton
                                res.add "\t\tREDUCE {r}\n"
                        end
                end
-               return res.to_s
+               return res.join
        end
 
        # Generate a graphviz file of the automaton