nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parser: remove useless printl method
[nit.git]
/
src
/
parser
/
parser_prod.nit
diff --git
a/src/parser/parser_prod.nit
b/src/parser/parser_prod.nit
index
c45fdb7
..
b695305
100644
(file)
--- 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
# 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
end
redef class Token