parser: remove useless printl method
authorJean Privat <jean@pryen.org>
Mon, 27 Jul 2009 20:43:41 +0000 (16:43 -0400)
committerJean Privat <jean@pryen.org>
Thu, 30 Jul 2009 01:38:52 +0000 (21:38 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/parser/parser_prod.nit
src/parser/xss/nodes.xss
src/syntax/mmbuilder.nit

index c45fdb7..b695305 100644 (file)
@@ -33,16 +33,6 @@ redef class ANode
        # Visit all nodes in reverse order.
        # Thus, call "v.visit(e)" for each node e starting from the last child
        fun visit_all_reverse(v: Visitor) is abstract
-
-       # Debug method: output a message prefixed with the location.
-       fun printl(str: String)
-       do
-               if location == null then
-                       print("???: {str}\n")
-               else
-                       print("{location}: {str}\n")
-               end
-       end
 end
 
 redef class Token
index 37612ff..6d43485 100644 (file)
@@ -62,16 +62,6 @@ redef class PNode
        # Visit all nodes in reverse order.
        # Thus, call "v.visit(e)" for each node e starting from the last child
        fun visit_all_reverse(v: Visitor) is abstract
-
-       # Debug method: output a message prefixed with the location.
-       fun printl(str: String)
-       do
-               if location == null then
-                       print("???: {str}\n")
-               else
-                       print("{location}: {str}\n")
-               end
-       end
 end
 
 redef class Token
index f9fb9d2..60deaf2 100644 (file)
@@ -819,7 +819,6 @@ redef class APropdef
 
                        if s == null then
                                if v.signature_builder.params.length != isig.arity then
-                                       #prop.node.printl("v.params.length {v.params.length} != isig.arity {isig.arity} ; {prop.full_name} vs {ip.full_name}")
                                        return
                                end
                                for p in v.signature_builder.params do