nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git]
/
src
/
parser
/
test_parser.nit
diff --git
a/src/parser/test_parser.nit
b/src/parser/test_parser.nit
index
2fbfb1a
..
d8222fb
100644
(file)
--- a/
src/parser/test_parser.nit
+++ b/
src/parser/test_parser.nit
@@
-21,8
+21,8
@@
import parser
class PrintTreeVisitor
special Visitor
- attr _rank: Int
- meth visit(n: PNode)
+ var _rank: Int
+ fun visit(n: PNode)
do
printn(" " * _rank, n.to_s, "\n")
_rank = _rank + 1