nitcc: Automaton::to_dot does not display the objectid
authorJean Privat <jean@pryen.org>
Wed, 30 Oct 2013 14:02:44 +0000 (10:02 -0400)
committerJean Privat <jean@pryen.org>
Wed, 30 Oct 2013 14:02:44 +0000 (10:02 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/nitcc/src/autom.nit

index 40775f8..c86f085 100644 (file)
@@ -387,6 +387,8 @@ class Automaton
                                        f.write("{token.name.escape_to_c}\\n")
                                end
                                f.write("\"")
+                       else
+                               f.write(",label=\"\"")
                        end
                        f.write("];\n")
                        var outs = new HashMap[State, Array[nullable TSymbol]]