nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ast: remove classes AAtArg and make them simple AExpr
[nit.git]
/
src
/
test_parser.nit
diff --git
a/src/test_parser.nit
b/src/test_parser.nit
index
193a734
..
f654f5b
100644
(file)
--- a/
src/test_parser.nit
+++ b/
src/test_parser.nit
@@
-22,7
+22,7
@@
import parser_util
class PrintTreeVisitor
super Visitor
- private var rank: Int
+ private var rank: Int = 0
redef fun visit(n)
do
if n isa Token then
@@
-34,11
+34,6
@@
class PrintTreeVisitor
n.visit_all(self)
rank = rank - 1
end
-
- init
- do
- rank = 0
- end
end
var no_print = false