X-Git-Url: http://nitlanguage.org diff --git a/src/parser/test_parser.nit b/src/parser/test_parser.nit index 2fbfb1a..d8222fb 100644 --- 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