nitcc: DFAStates are private
authorJean Privat <jean@pryen.org>
Thu, 26 Jun 2014 09:17:36 +0000 (05:17 -0400)
committerJean Privat <jean@pryen.org>
Thu, 26 Jun 2014 09:17:36 +0000 (05:17 -0400)
One does not want to see them in the documentation.

Signed-off-by: Jean Privat <jean@pryen.org>

contrib/nitcc/src/autom.nit

index c86f085..c20f3df 100644 (file)
@@ -609,7 +609,7 @@ private class DFAGenerator
 
                for s in automaton.states do
                        var  n = names[s]
-                       add("class DFAState{n}\n")
+                       add("private class DFAState{n}\n")
                        add("\tsuper DFAState\n")
                        if automaton.accept.has(s) then
                                var token