From: Jean Privat Date: Mon, 27 Jul 2009 20:43:41 +0000 (-0400) Subject: parser: remove useless printl method X-Git-Tag: v0.3~107 X-Git-Url: http://nitlanguage.org parser: remove useless printl method Signed-off-by: Jean Privat --- diff --git a/src/parser/parser_prod.nit b/src/parser/parser_prod.nit index c45fdb7..b695305 100644 --- a/src/parser/parser_prod.nit +++ b/src/parser/parser_prod.nit @@ -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 diff --git a/src/parser/xss/nodes.xss b/src/parser/xss/nodes.xss index 37612ff..6d43485 100644 --- a/src/parser/xss/nodes.xss +++ b/src/parser/xss/nodes.xss @@ -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 diff --git a/src/syntax/mmbuilder.nit b/src/syntax/mmbuilder.nit index f9fb9d2..60deaf2 100644 --- a/src/syntax/mmbuilder.nit +++ b/src/syntax/mmbuilder.nit @@ -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