tests: tests -i on test_parser
authorJean Privat <jean@pryen.org>
Sun, 27 Apr 2014 01:40:40 +0000 (21:40 -0400)
committerJean Privat <jean@pryen.org>
Sun, 27 Apr 2014 01:43:09 +0000 (21:43 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/sav/test_parser.res
tests/sav/test_parser_args1.res
tests/sav/test_parser_args2.res
tests/sav/test_parser_args7.res [new file with mode: 0644]
tests/test_parser.args
tests/test_parser_args7.inputs [new file with mode: 0644]

index eb54d78..6c59b79 100644 (file)
@@ -1,8 +1,11 @@
 usage:
   test_parser [options]... <filename.nit>...
+  test_parser -e [options]... <text>...
+  test_parser -i [options]...
 options:
   -n   do not print anything
   -l   only lexer
   -p   lexer and parser (default)
   -e   instead on files, each argument is a content to parse
+  -i   tree to parse are read interactively
   -h   print this help
index 1ae1a04..fc001c0 100644 (file)
@@ -1,5 +1,5 @@
-Start ../src/test_parser.nit:17,1--110,1
-  AModule ../src/test_parser.nit:17,1--109,3
+Start ../src/test_parser.nit:17,1--152,1
+  AModule ../src/test_parser.nit:17,1--151,3
     AModuledecl ../src/test_parser.nit:17,1--18,18
       ADoc ../src/test_parser.nit:17,1--18,0
         TComment "# Program used to test the NIT parser\n" ../src/test_parser.nit:17,1--18,0
@@ -11,745 +11,1028 @@ Start ../src/test_parser.nit:17,1--110,1
       TKwimport "import" ../src/test_parser.nit:20,1--6
       AModuleName ../src/test_parser.nit:20,8--13
         TId "parser" ../src/test_parser.nit:20,8--13
-    AStdClassdef ../src/test_parser.nit:22,1--41,3
-      APublicVisibility ../src/test_parser.nit:22,1
-      AConcreteClasskind ../src/test_parser.nit:22,1--5
-        TKwclass "class" ../src/test_parser.nit:22,1--5
-      TClassid "PrintTreeVisitor" ../src/test_parser.nit:22,7--22
-      ASuperclass ../src/test_parser.nit:23,2--14
-        TKwsuper "super" ../src/test_parser.nit:23,2--6
-        AType ../src/test_parser.nit:23,8--14
-          TClassid "Visitor" ../src/test_parser.nit:23,8--14
-      AAttrPropdef ../src/test_parser.nit:24,2--22
-        APrivateVisibility ../src/test_parser.nit:24,2--8
-          TKwprivate "private" ../src/test_parser.nit:24,2--8
-        TKwvar "var" ../src/test_parser.nit:24,10--12
-        TId "rank" ../src/test_parser.nit:24,14--17
-        AType ../src/test_parser.nit:24,20--22
-          TClassid "Int" ../src/test_parser.nit:24,20--22
-      AConcreteMethPropdef ../src/test_parser.nit:25,2--35,4
-        TKwredef "redef" ../src/test_parser.nit:25,2--6
-        APublicVisibility ../src/test_parser.nit:25,8
-        TKwmeth "fun" ../src/test_parser.nit:25,8--10
-        AIdMethid ../src/test_parser.nit:25,12--16
-          TId "visit" ../src/test_parser.nit:25,12--16
-        ASignature ../src/test_parser.nit:25,17--19
-          TOpar "(" ../src/test_parser.nit:25,17
-          AParam ../src/test_parser.nit:25,18
-            TId "n" ../src/test_parser.nit:25,18
-          TCpar ")" ../src/test_parser.nit:25,19
-        ABlockExpr ../src/test_parser.nit:27,3--35,4
-          AIfExpr ../src/test_parser.nit:27,3--31,5
-            TKwif "if" ../src/test_parser.nit:27,3--4
-            AIsaExpr ../src/test_parser.nit:27,6--16
-              ACallExpr ../src/test_parser.nit:27,6
-                AImplicitSelfExpr ../src/test_parser.nit:27,6
-                TId "n" ../src/test_parser.nit:27,6
-                AListExprs ../src/test_parser.nit:27,6
-              AType ../src/test_parser.nit:27,12--16
-                TClassid "Token" ../src/test_parser.nit:27,12--16
-            ABlockExpr ../src/test_parser.nit:28,4--88
-              ACallExpr ../src/test_parser.nit:28,4--88
-                AImplicitSelfExpr ../src/test_parser.nit:28,4
-                TId "printn" ../src/test_parser.nit:28,4--9
-                AParExprs ../src/test_parser.nit:28,10--88
-                  TOpar "(" ../src/test_parser.nit:28,10
-                  AStarExpr ../src/test_parser.nit:28,11--21
-                    AStringExpr ../src/test_parser.nit:28,11--14
-                      TString "\"  \"" ../src/test_parser.nit:28,11--14
-                    ACallExpr ../src/test_parser.nit:28,18--21
-                      AImplicitSelfExpr ../src/test_parser.nit:28,18
-                      TId "rank" ../src/test_parser.nit:28,18--21
-                      AListExprs ../src/test_parser.nit:28,21
-                  ACallExpr ../src/test_parser.nit:28,24--35
-                    ACallExpr ../src/test_parser.nit:28,24
-                      AImplicitSelfExpr ../src/test_parser.nit:28,24
-                      TId "n" ../src/test_parser.nit:28,24
-                      AListExprs ../src/test_parser.nit:28,24
-                    TId "class_name" ../src/test_parser.nit:28,26--35
-                    AListExprs ../src/test_parser.nit:28,35
-                  AStringExpr ../src/test_parser.nit:28,38--42
-                    TString "\" \\\"\"" ../src/test_parser.nit:28,38--42
-                  ACallExpr ../src/test_parser.nit:28,45--62
-                    ACallExpr ../src/test_parser.nit:28,45--50
-                      ACallExpr ../src/test_parser.nit:28,45
-                        AImplicitSelfExpr ../src/test_parser.nit:28,45
-                        TId "n" ../src/test_parser.nit:28,45
-                        AListExprs ../src/test_parser.nit:28,45
-                      TId "text" ../src/test_parser.nit:28,47--50
-                      AListExprs ../src/test_parser.nit:28,50
-                    TId "escape_to_c" ../src/test_parser.nit:28,52--62
-                    AListExprs ../src/test_parser.nit:28,62
-                  AStringExpr ../src/test_parser.nit:28,65--69
-                    TString "\"\\\" \"" ../src/test_parser.nit:28,65--69
-                  ACallExpr ../src/test_parser.nit:28,72--81
-                    ACallExpr ../src/test_parser.nit:28,72
-                      AImplicitSelfExpr ../src/test_parser.nit:28,72
-                      TId "n" ../src/test_parser.nit:28,72
-                      AListExprs ../src/test_parser.nit:28,72
-                    TId "location" ../src/test_parser.nit:28,74--81
-                    AListExprs ../src/test_parser.nit:28,81
-                  AStringExpr ../src/test_parser.nit:28,84--87
-                    TString "\"\\n\"" ../src/test_parser.nit:28,84--87
-                  TCpar ")" ../src/test_parser.nit:28,88
-            ABlockExpr ../src/test_parser.nit:30,4--31,5
-              ACallExpr ../src/test_parser.nit:30,4--59
-                AImplicitSelfExpr ../src/test_parser.nit:30,4
-                TId "printn" ../src/test_parser.nit:30,4--9
-                AParExprs ../src/test_parser.nit:30,10--59
-                  TOpar "(" ../src/test_parser.nit:30,10
-                  AStarExpr ../src/test_parser.nit:30,11--21
-                    AStringExpr ../src/test_parser.nit:30,11--14
-                      TString "\"  \"" ../src/test_parser.nit:30,11--14
-                    ACallExpr ../src/test_parser.nit:30,18--21
-                      AImplicitSelfExpr ../src/test_parser.nit:30,18
-                      TId "rank" ../src/test_parser.nit:30,18--21
-                      AListExprs ../src/test_parser.nit:30,21
-                  ACallExpr ../src/test_parser.nit:30,24--35
-                    ACallExpr ../src/test_parser.nit:30,24
-                      AImplicitSelfExpr ../src/test_parser.nit:30,24
-                      TId "n" ../src/test_parser.nit:30,24
-                      AListExprs ../src/test_parser.nit:30,24
-                    TId "class_name" ../src/test_parser.nit:30,26--35
-                    AListExprs ../src/test_parser.nit:30,35
-                  AStringExpr ../src/test_parser.nit:30,38--40
-                    TString "\" \"" ../src/test_parser.nit:30,38--40
-                  ACallExpr ../src/test_parser.nit:30,43--52
-                    ACallExpr ../src/test_parser.nit:30,43
-                      AImplicitSelfExpr ../src/test_parser.nit:30,43
-                      TId "n" ../src/test_parser.nit:30,43
-                      AListExprs ../src/test_parser.nit:30,43
-                    TId "location" ../src/test_parser.nit:30,45--52
-                    AListExprs ../src/test_parser.nit:30,52
-                  AStringExpr ../src/test_parser.nit:30,55--58
-                    TString "\"\\n\"" ../src/test_parser.nit:30,55--58
-                  TCpar ")" ../src/test_parser.nit:30,59
-              TKwend "end" ../src/test_parser.nit:31,3--5
-          ACallAssignExpr ../src/test_parser.nit:32,3--17
-            AImplicitSelfExpr ../src/test_parser.nit:32,3
-            TId "rank" ../src/test_parser.nit:32,3--6
-            AListExprs ../src/test_parser.nit:32,8
-            TAssign "=" ../src/test_parser.nit:32,8
-            APlusExpr ../src/test_parser.nit:32,10--17
-              ACallExpr ../src/test_parser.nit:32,10--13
-                AImplicitSelfExpr ../src/test_parser.nit:32,10
-                TId "rank" ../src/test_parser.nit:32,10--13
-                AListExprs ../src/test_parser.nit:32,13
-              ADecIntExpr ../src/test_parser.nit:32,17
-                TNumber "1" ../src/test_parser.nit:32,17
-          ACallExpr ../src/test_parser.nit:33,3--19
-            ACallExpr ../src/test_parser.nit:33,3
-              AImplicitSelfExpr ../src/test_parser.nit:33,3
-              TId "n" ../src/test_parser.nit:33,3
-              AListExprs ../src/test_parser.nit:33,3
-            TId "visit_all" ../src/test_parser.nit:33,5--13
-            AParExprs ../src/test_parser.nit:33,14--19
-              TOpar "(" ../src/test_parser.nit:33,14
-              ASelfExpr ../src/test_parser.nit:33,15--18
-                TKwself "self" ../src/test_parser.nit:33,15--18
-              TCpar ")" ../src/test_parser.nit:33,19
-          ACallAssignExpr ../src/test_parser.nit:34,3--17
-            AImplicitSelfExpr ../src/test_parser.nit:34,3
-            TId "rank" ../src/test_parser.nit:34,3--6
-            AListExprs ../src/test_parser.nit:34,8
-            TAssign "=" ../src/test_parser.nit:34,8
-            AMinusExpr ../src/test_parser.nit:34,10--17
-              ACallExpr ../src/test_parser.nit:34,10--13
-                AImplicitSelfExpr ../src/test_parser.nit:34,10
-                TId "rank" ../src/test_parser.nit:34,10--13
-                AListExprs ../src/test_parser.nit:34,13
-              ADecIntExpr ../src/test_parser.nit:34,17
-                TNumber "1" ../src/test_parser.nit:34,17
-          TKwend "end" ../src/test_parser.nit:35,2--4
-      AConcreteInitPropdef ../src/test_parser.nit:37,2--40,4
-        APublicVisibility ../src/test_parser.nit:37,2
-        TKwinit "init" ../src/test_parser.nit:37,2--5
-        ASignature ../src/test_parser.nit:39,3
-        ABlockExpr ../src/test_parser.nit:39,3--40,4
-          ACallAssignExpr ../src/test_parser.nit:39,3--10
-            AImplicitSelfExpr ../src/test_parser.nit:39,3
-            TId "rank" ../src/test_parser.nit:39,3--6
-            AListExprs ../src/test_parser.nit:39,8
-            TAssign "=" ../src/test_parser.nit:39,8
-            ADecIntExpr ../src/test_parser.nit:39,10
-              TNumber "0" ../src/test_parser.nit:39,10
-          TKwend "end" ../src/test_parser.nit:40,2--4
-      TKwend "end" ../src/test_parser.nit:41,1--3
-    AMainClassdef ../src/test_parser.nit:43,1--109,3
-      AMainMethPropdef ../src/test_parser.nit:43,1--109,3
-        ABlockExpr ../src/test_parser.nit:43,1--109,3
-          AVardeclExpr ../src/test_parser.nit:43,1--20
-            TKwvar "var" ../src/test_parser.nit:43,1--3
-            TId "no_print" ../src/test_parser.nit:43,5--12
-            TAssign "=" ../src/test_parser.nit:43,14
-            AFalseExpr ../src/test_parser.nit:43,16--20
-              TKwfalse "false" ../src/test_parser.nit:43,16--20
-          AVardeclExpr ../src/test_parser.nit:44,1--22
+    AStdImport ../src/test_parser.nit:21,1--18
+      APublicVisibility ../src/test_parser.nit:21,1
+      TKwimport "import" ../src/test_parser.nit:21,1--6
+      AModuleName ../src/test_parser.nit:21,8--18
+        TId "parser_util" ../src/test_parser.nit:21,8--18
+    AStdClassdef ../src/test_parser.nit:23,1--42,3
+      APublicVisibility ../src/test_parser.nit:23,1
+      AConcreteClasskind ../src/test_parser.nit:23,1--5
+        TKwclass "class" ../src/test_parser.nit:23,1--5
+      TClassid "PrintTreeVisitor" ../src/test_parser.nit:23,7--22
+      ASuperclass ../src/test_parser.nit:24,2--14
+        TKwsuper "super" ../src/test_parser.nit:24,2--6
+        AType ../src/test_parser.nit:24,8--14
+          TClassid "Visitor" ../src/test_parser.nit:24,8--14
+      AAttrPropdef ../src/test_parser.nit:25,2--22
+        APrivateVisibility ../src/test_parser.nit:25,2--8
+          TKwprivate "private" ../src/test_parser.nit:25,2--8
+        TKwvar "var" ../src/test_parser.nit:25,10--12
+        TId "rank" ../src/test_parser.nit:25,14--17
+        AType ../src/test_parser.nit:25,20--22
+          TClassid "Int" ../src/test_parser.nit:25,20--22
+      AConcreteMethPropdef ../src/test_parser.nit:26,2--36,4
+        TKwredef "redef" ../src/test_parser.nit:26,2--6
+        APublicVisibility ../src/test_parser.nit:26,8
+        TKwmeth "fun" ../src/test_parser.nit:26,8--10
+        AIdMethid ../src/test_parser.nit:26,12--16
+          TId "visit" ../src/test_parser.nit:26,12--16
+        ASignature ../src/test_parser.nit:26,17--19
+          TOpar "(" ../src/test_parser.nit:26,17
+          AParam ../src/test_parser.nit:26,18
+            TId "n" ../src/test_parser.nit:26,18
+          TCpar ")" ../src/test_parser.nit:26,19
+        ABlockExpr ../src/test_parser.nit:28,3--36,4
+          AIfExpr ../src/test_parser.nit:28,3--32,5
+            TKwif "if" ../src/test_parser.nit:28,3--4
+            AIsaExpr ../src/test_parser.nit:28,6--16
+              ACallExpr ../src/test_parser.nit:28,6
+                AImplicitSelfExpr ../src/test_parser.nit:28,6
+                TId "n" ../src/test_parser.nit:28,6
+                AListExprs ../src/test_parser.nit:28,6
+              AType ../src/test_parser.nit:28,12--16
+                TClassid "Token" ../src/test_parser.nit:28,12--16
+            ABlockExpr ../src/test_parser.nit:29,4--88
+              ACallExpr ../src/test_parser.nit:29,4--88
+                AImplicitSelfExpr ../src/test_parser.nit:29,4
+                TId "printn" ../src/test_parser.nit:29,4--9
+                AParExprs ../src/test_parser.nit:29,10--88
+                  TOpar "(" ../src/test_parser.nit:29,10
+                  AStarExpr ../src/test_parser.nit:29,11--21
+                    AStringExpr ../src/test_parser.nit:29,11--14
+                      TString "\"  \"" ../src/test_parser.nit:29,11--14
+                    ACallExpr ../src/test_parser.nit:29,18--21
+                      AImplicitSelfExpr ../src/test_parser.nit:29,18
+                      TId "rank" ../src/test_parser.nit:29,18--21
+                      AListExprs ../src/test_parser.nit:29,21
+                  ACallExpr ../src/test_parser.nit:29,24--35
+                    ACallExpr ../src/test_parser.nit:29,24
+                      AImplicitSelfExpr ../src/test_parser.nit:29,24
+                      TId "n" ../src/test_parser.nit:29,24
+                      AListExprs ../src/test_parser.nit:29,24
+                    TId "class_name" ../src/test_parser.nit:29,26--35
+                    AListExprs ../src/test_parser.nit:29,35
+                  AStringExpr ../src/test_parser.nit:29,38--42
+                    TString "\" \\\"\"" ../src/test_parser.nit:29,38--42
+                  ACallExpr ../src/test_parser.nit:29,45--62
+                    ACallExpr ../src/test_parser.nit:29,45--50
+                      ACallExpr ../src/test_parser.nit:29,45
+                        AImplicitSelfExpr ../src/test_parser.nit:29,45
+                        TId "n" ../src/test_parser.nit:29,45
+                        AListExprs ../src/test_parser.nit:29,45
+                      TId "text" ../src/test_parser.nit:29,47--50
+                      AListExprs ../src/test_parser.nit:29,50
+                    TId "escape_to_c" ../src/test_parser.nit:29,52--62
+                    AListExprs ../src/test_parser.nit:29,62
+                  AStringExpr ../src/test_parser.nit:29,65--69
+                    TString "\"\\\" \"" ../src/test_parser.nit:29,65--69
+                  ACallExpr ../src/test_parser.nit:29,72--81
+                    ACallExpr ../src/test_parser.nit:29,72
+                      AImplicitSelfExpr ../src/test_parser.nit:29,72
+                      TId "n" ../src/test_parser.nit:29,72
+                      AListExprs ../src/test_parser.nit:29,72
+                    TId "location" ../src/test_parser.nit:29,74--81
+                    AListExprs ../src/test_parser.nit:29,81
+                  AStringExpr ../src/test_parser.nit:29,84--87
+                    TString "\"\\n\"" ../src/test_parser.nit:29,84--87
+                  TCpar ")" ../src/test_parser.nit:29,88
+            ABlockExpr ../src/test_parser.nit:31,4--32,5
+              ACallExpr ../src/test_parser.nit:31,4--59
+                AImplicitSelfExpr ../src/test_parser.nit:31,4
+                TId "printn" ../src/test_parser.nit:31,4--9
+                AParExprs ../src/test_parser.nit:31,10--59
+                  TOpar "(" ../src/test_parser.nit:31,10
+                  AStarExpr ../src/test_parser.nit:31,11--21
+                    AStringExpr ../src/test_parser.nit:31,11--14
+                      TString "\"  \"" ../src/test_parser.nit:31,11--14
+                    ACallExpr ../src/test_parser.nit:31,18--21
+                      AImplicitSelfExpr ../src/test_parser.nit:31,18
+                      TId "rank" ../src/test_parser.nit:31,18--21
+                      AListExprs ../src/test_parser.nit:31,21
+                  ACallExpr ../src/test_parser.nit:31,24--35
+                    ACallExpr ../src/test_parser.nit:31,24
+                      AImplicitSelfExpr ../src/test_parser.nit:31,24
+                      TId "n" ../src/test_parser.nit:31,24
+                      AListExprs ../src/test_parser.nit:31,24
+                    TId "class_name" ../src/test_parser.nit:31,26--35
+                    AListExprs ../src/test_parser.nit:31,35
+                  AStringExpr ../src/test_parser.nit:31,38--40
+                    TString "\" \"" ../src/test_parser.nit:31,38--40
+                  ACallExpr ../src/test_parser.nit:31,43--52
+                    ACallExpr ../src/test_parser.nit:31,43
+                      AImplicitSelfExpr ../src/test_parser.nit:31,43
+                      TId "n" ../src/test_parser.nit:31,43
+                      AListExprs ../src/test_parser.nit:31,43
+                    TId "location" ../src/test_parser.nit:31,45--52
+                    AListExprs ../src/test_parser.nit:31,52
+                  AStringExpr ../src/test_parser.nit:31,55--58
+                    TString "\"\\n\"" ../src/test_parser.nit:31,55--58
+                  TCpar ")" ../src/test_parser.nit:31,59
+              TKwend "end" ../src/test_parser.nit:32,3--5
+          ACallAssignExpr ../src/test_parser.nit:33,3--17
+            AImplicitSelfExpr ../src/test_parser.nit:33,3
+            TId "rank" ../src/test_parser.nit:33,3--6
+            AListExprs ../src/test_parser.nit:33,8
+            TAssign "=" ../src/test_parser.nit:33,8
+            APlusExpr ../src/test_parser.nit:33,10--17
+              ACallExpr ../src/test_parser.nit:33,10--13
+                AImplicitSelfExpr ../src/test_parser.nit:33,10
+                TId "rank" ../src/test_parser.nit:33,10--13
+                AListExprs ../src/test_parser.nit:33,13
+              ADecIntExpr ../src/test_parser.nit:33,17
+                TNumber "1" ../src/test_parser.nit:33,17
+          ACallExpr ../src/test_parser.nit:34,3--19
+            ACallExpr ../src/test_parser.nit:34,3
+              AImplicitSelfExpr ../src/test_parser.nit:34,3
+              TId "n" ../src/test_parser.nit:34,3
+              AListExprs ../src/test_parser.nit:34,3
+            TId "visit_all" ../src/test_parser.nit:34,5--13
+            AParExprs ../src/test_parser.nit:34,14--19
+              TOpar "(" ../src/test_parser.nit:34,14
+              ASelfExpr ../src/test_parser.nit:34,15--18
+                TKwself "self" ../src/test_parser.nit:34,15--18
+              TCpar ")" ../src/test_parser.nit:34,19
+          ACallAssignExpr ../src/test_parser.nit:35,3--17
+            AImplicitSelfExpr ../src/test_parser.nit:35,3
+            TId "rank" ../src/test_parser.nit:35,3--6
+            AListExprs ../src/test_parser.nit:35,8
+            TAssign "=" ../src/test_parser.nit:35,8
+            AMinusExpr ../src/test_parser.nit:35,10--17
+              ACallExpr ../src/test_parser.nit:35,10--13
+                AImplicitSelfExpr ../src/test_parser.nit:35,10
+                TId "rank" ../src/test_parser.nit:35,10--13
+                AListExprs ../src/test_parser.nit:35,13
+              ADecIntExpr ../src/test_parser.nit:35,17
+                TNumber "1" ../src/test_parser.nit:35,17
+          TKwend "end" ../src/test_parser.nit:36,2--4
+      AConcreteInitPropdef ../src/test_parser.nit:38,2--41,4
+        APublicVisibility ../src/test_parser.nit:38,2
+        TKwinit "init" ../src/test_parser.nit:38,2--5
+        ASignature ../src/test_parser.nit:40,3
+        ABlockExpr ../src/test_parser.nit:40,3--41,4
+          ACallAssignExpr ../src/test_parser.nit:40,3--10
+            AImplicitSelfExpr ../src/test_parser.nit:40,3
+            TId "rank" ../src/test_parser.nit:40,3--6
+            AListExprs ../src/test_parser.nit:40,8
+            TAssign "=" ../src/test_parser.nit:40,8
+            ADecIntExpr ../src/test_parser.nit:40,10
+              TNumber "0" ../src/test_parser.nit:40,10
+          TKwend "end" ../src/test_parser.nit:41,2--4
+      TKwend "end" ../src/test_parser.nit:42,1--3
+    AMainClassdef ../src/test_parser.nit:44,1--151,3
+      AMainMethPropdef ../src/test_parser.nit:44,1--151,3
+        ABlockExpr ../src/test_parser.nit:44,1--151,3
+          AVardeclExpr ../src/test_parser.nit:44,1--20
             TKwvar "var" ../src/test_parser.nit:44,1--3
-            TId "only_lexer" ../src/test_parser.nit:44,5--14
-            TAssign "=" ../src/test_parser.nit:44,16
-            AFalseExpr ../src/test_parser.nit:44,18--22
-              TKwfalse "false" ../src/test_parser.nit:44,18--22
-          AVardeclExpr ../src/test_parser.nit:45,1--21
+            TId "no_print" ../src/test_parser.nit:44,5--12
+            TAssign "=" ../src/test_parser.nit:44,14
+            AFalseExpr ../src/test_parser.nit:44,16--20
+              TKwfalse "false" ../src/test_parser.nit:44,16--20
+          AVardeclExpr ../src/test_parser.nit:45,1--22
             TKwvar "var" ../src/test_parser.nit:45,1--3
-            TId "need_help" ../src/test_parser.nit:45,5--13
-            TAssign "=" ../src/test_parser.nit:45,15
-            AFalseExpr ../src/test_parser.nit:45,17--21
-              TKwfalse "false" ../src/test_parser.nit:45,17--21
-          AVardeclExpr ../src/test_parser.nit:46,1--19
+            TId "only_lexer" ../src/test_parser.nit:45,5--14
+            TAssign "=" ../src/test_parser.nit:45,16
+            AFalseExpr ../src/test_parser.nit:45,18--22
+              TKwfalse "false" ../src/test_parser.nit:45,18--22
+          AVardeclExpr ../src/test_parser.nit:46,1--21
             TKwvar "var" ../src/test_parser.nit:46,1--3
-            TId "no_file" ../src/test_parser.nit:46,5--11
-            TAssign "=" ../src/test_parser.nit:46,13
-            AFalseExpr ../src/test_parser.nit:46,15--19
-              TKwfalse "false" ../src/test_parser.nit:46,15--19
-          AWhileExpr ../src/test_parser.nit:48,1--64,3
-            TKwwhile "while" ../src/test_parser.nit:48,1--5
-            AAndExpr ../src/test_parser.nit:48,7--57
-              ANotExpr ../src/test_parser.nit:48,7--23
-                TKwnot "not" ../src/test_parser.nit:48,7--9
-                ACallExpr ../src/test_parser.nit:48,11--23
-                  ACallExpr ../src/test_parser.nit:48,11--14
-                    AImplicitSelfExpr ../src/test_parser.nit:48,11
-                    TId "args" ../src/test_parser.nit:48,11--14
-                    AListExprs ../src/test_parser.nit:48,14
-                  TId "is_empty" ../src/test_parser.nit:48,16--23
-                  AListExprs ../src/test_parser.nit:48,23
-              AEqExpr ../src/test_parser.nit:48,29--57
-                ACallExpr ../src/test_parser.nit:48,29--50
-                  ACallExpr ../src/test_parser.nit:48,29--44
-                    ACallExpr ../src/test_parser.nit:48,29--38
-                      ACallExpr ../src/test_parser.nit:48,29--32
-                        AImplicitSelfExpr ../src/test_parser.nit:48,29
-                        TId "args" ../src/test_parser.nit:48,29--32
-                        AListExprs ../src/test_parser.nit:48,32
-                      TId "first" ../src/test_parser.nit:48,34--38
-                      AListExprs ../src/test_parser.nit:48,38
-                    TId "chars" ../src/test_parser.nit:48,40--44
-                    AListExprs ../src/test_parser.nit:48,44
-                  TId "first" ../src/test_parser.nit:48,46--50
-                  AListExprs ../src/test_parser.nit:48,50
-                ACharExpr ../src/test_parser.nit:48,55--57
-                  TChar "\'-\'" ../src/test_parser.nit:48,55--57
-            TKwdo "do" ../src/test_parser.nit:48,59--60
-            ABlockExpr ../src/test_parser.nit:49,2--64,3
-              AIfExpr ../src/test_parser.nit:49,2--62,4
-                TKwif "if" ../src/test_parser.nit:49,2--3
-                AEqExpr ../src/test_parser.nit:49,5--22
-                  ACallExpr ../src/test_parser.nit:49,5--14
-                    ACallExpr ../src/test_parser.nit:49,5--8
-                      AImplicitSelfExpr ../src/test_parser.nit:49,5
-                      TId "args" ../src/test_parser.nit:49,5--8
-                      AListExprs ../src/test_parser.nit:49,8
-                    TId "first" ../src/test_parser.nit:49,10--14
-                    AListExprs ../src/test_parser.nit:49,14
-                  AStringExpr ../src/test_parser.nit:49,19--22
-                    TString "\"-n\"" ../src/test_parser.nit:49,19--22
-                ABlockExpr ../src/test_parser.nit:50,3--17
-                  ACallAssignExpr ../src/test_parser.nit:50,3--17
-                    AImplicitSelfExpr ../src/test_parser.nit:50,3
-                    TId "no_print" ../src/test_parser.nit:50,3--10
-                    AListExprs ../src/test_parser.nit:50,12
-                    TAssign "=" ../src/test_parser.nit:50,12
-                    ATrueExpr ../src/test_parser.nit:50,14--17
-                      TKwtrue "true" ../src/test_parser.nit:50,14--17
-                AIfExpr ../src/test_parser.nit:51,7--62,4
-                  TKwif "if" ../src/test_parser.nit:51,7--8
-                  AEqExpr ../src/test_parser.nit:51,10--27
-                    ACallExpr ../src/test_parser.nit:51,10--19
-                      ACallExpr ../src/test_parser.nit:51,10--13
-                        AImplicitSelfExpr ../src/test_parser.nit:51,10
-                        TId "args" ../src/test_parser.nit:51,10--13
-                        AListExprs ../src/test_parser.nit:51,13
-                      TId "first" ../src/test_parser.nit:51,15--19
-                      AListExprs ../src/test_parser.nit:51,19
-                    AStringExpr ../src/test_parser.nit:51,24--27
-                      TString "\"-l\"" ../src/test_parser.nit:51,24--27
-                  ABlockExpr ../src/test_parser.nit:52,3--19
-                    ACallAssignExpr ../src/test_parser.nit:52,3--19
-                      AImplicitSelfExpr ../src/test_parser.nit:52,3
-                      TId "only_lexer" ../src/test_parser.nit:52,3--12
-                      AListExprs ../src/test_parser.nit:52,14
-                      TAssign "=" ../src/test_parser.nit:52,14
-                      ATrueExpr ../src/test_parser.nit:52,16--19
-                        TKwtrue "true" ../src/test_parser.nit:52,16--19
-                  AIfExpr ../src/test_parser.nit:53,7--62,4
-                    TKwif "if" ../src/test_parser.nit:53,7--8
-                    AEqExpr ../src/test_parser.nit:53,10--27
-                      ACallExpr ../src/test_parser.nit:53,10--19
-                        ACallExpr ../src/test_parser.nit:53,10--13
-                          AImplicitSelfExpr ../src/test_parser.nit:53,10
-                          TId "args" ../src/test_parser.nit:53,10--13
-                          AListExprs ../src/test_parser.nit:53,13
-                        TId "first" ../src/test_parser.nit:53,15--19
-                        AListExprs ../src/test_parser.nit:53,19
-                      AStringExpr ../src/test_parser.nit:53,24--27
-                        TString "\"-p\"" ../src/test_parser.nit:53,24--27
-                    ABlockExpr ../src/test_parser.nit:54,3--20
-                      ACallAssignExpr ../src/test_parser.nit:54,3--20
-                        AImplicitSelfExpr ../src/test_parser.nit:54,3
-                        TId "only_lexer" ../src/test_parser.nit:54,3--12
-                        AListExprs ../src/test_parser.nit:54,14
-                        TAssign "=" ../src/test_parser.nit:54,14
-                        AFalseExpr ../src/test_parser.nit:54,16--20
-                          TKwfalse "false" ../src/test_parser.nit:54,16--20
-                    AIfExpr ../src/test_parser.nit:55,7--62,4
-                      TKwif "if" ../src/test_parser.nit:55,7--8
-                      AEqExpr ../src/test_parser.nit:55,10--27
-                        ACallExpr ../src/test_parser.nit:55,10--19
-                          ACallExpr ../src/test_parser.nit:55,10--13
-                            AImplicitSelfExpr ../src/test_parser.nit:55,10
-                            TId "args" ../src/test_parser.nit:55,10--13
-                            AListExprs ../src/test_parser.nit:55,13
-                          TId "first" ../src/test_parser.nit:55,15--19
-                          AListExprs ../src/test_parser.nit:55,19
-                        AStringExpr ../src/test_parser.nit:55,24--27
-                          TString "\"-e\"" ../src/test_parser.nit:55,24--27
-                      ABlockExpr ../src/test_parser.nit:56,3--16
-                        ACallAssignExpr ../src/test_parser.nit:56,3--16
-                          AImplicitSelfExpr ../src/test_parser.nit:56,3
-                          TId "no_file" ../src/test_parser.nit:56,3--9
-                          AListExprs ../src/test_parser.nit:56,11
-                          TAssign "=" ../src/test_parser.nit:56,11
-                          ATrueExpr ../src/test_parser.nit:56,13--16
-                            TKwtrue "true" ../src/test_parser.nit:56,13--16
-                      AIfExpr ../src/test_parser.nit:57,7--62,4
-                        TKwif "if" ../src/test_parser.nit:57,7--8
-                        AOrExpr ../src/test_parser.nit:57,10--49
-                          AEqExpr ../src/test_parser.nit:57,10--27
-                            ACallExpr ../src/test_parser.nit:57,10--19
-                              ACallExpr ../src/test_parser.nit:57,10--13
-                                AImplicitSelfExpr ../src/test_parser.nit:57,10
-                                TId "args" ../src/test_parser.nit:57,10--13
-                                AListExprs ../src/test_parser.nit:57,13
-                              TId "first" ../src/test_parser.nit:57,15--19
-                              AListExprs ../src/test_parser.nit:57,19
-                            AStringExpr ../src/test_parser.nit:57,24--27
-                              TString "\"-h\"" ../src/test_parser.nit:57,24--27
-                          AEqExpr ../src/test_parser.nit:57,32--49
-                            ACallExpr ../src/test_parser.nit:57,32--41
-                              ACallExpr ../src/test_parser.nit:57,32--35
-                                AImplicitSelfExpr ../src/test_parser.nit:57,32
-                                TId "args" ../src/test_parser.nit:57,32--35
-                                AListExprs ../src/test_parser.nit:57,35
-                              TId "first" ../src/test_parser.nit:57,37--41
-                              AListExprs ../src/test_parser.nit:57,41
-                            AStringExpr ../src/test_parser.nit:57,46--49
-                              TString "\"-?\"" ../src/test_parser.nit:57,46--49
-                        ABlockExpr ../src/test_parser.nit:58,3--18
-                          ACallAssignExpr ../src/test_parser.nit:58,3--18
-                            AImplicitSelfExpr ../src/test_parser.nit:58,3
-                            TId "need_help" ../src/test_parser.nit:58,3--11
-                            AListExprs ../src/test_parser.nit:58,13
-                            TAssign "=" ../src/test_parser.nit:58,13
-                            ATrueExpr ../src/test_parser.nit:58,15--18
-                              TKwtrue "true" ../src/test_parser.nit:58,15--18
-                        ABlockExpr ../src/test_parser.nit:60,3--62,4
-                          ACallExpr ../src/test_parser.nit:60,3--48
-                            ACallExpr ../src/test_parser.nit:60,3--8
-                              AImplicitSelfExpr ../src/test_parser.nit:60,3
-                              TId "stderr" ../src/test_parser.nit:60,3--8
-                              AListExprs ../src/test_parser.nit:60,8
-                            TId "write" ../src/test_parser.nit:60,10--14
-                            AParExprs ../src/test_parser.nit:60,15--48
-                              TOpar "(" ../src/test_parser.nit:60,15
-                              ASuperstringExpr ../src/test_parser.nit:60,16--47
-                                AStartStringExpr ../src/test_parser.nit:60,16--32
-                                  TStartString "\"Unknown option {" ../src/test_parser.nit:60,16--32
-                                ACallExpr ../src/test_parser.nit:60,33--42
-                                  ACallExpr ../src/test_parser.nit:60,33--36
-                                    AImplicitSelfExpr ../src/test_parser.nit:60,33
-                                    TId "args" ../src/test_parser.nit:60,33--36
-                                    AListExprs ../src/test_parser.nit:60,36
-                                  TId "first" ../src/test_parser.nit:60,38--42
-                                  AListExprs ../src/test_parser.nit:60,42
-                                AEndStringExpr ../src/test_parser.nit:60,43--47
-                                  TEndString "}.\\n\"" ../src/test_parser.nit:60,43--47
-                              TCpar ")" ../src/test_parser.nit:60,48
-                          ACallExpr ../src/test_parser.nit:61,3--9
-                            AImplicitSelfExpr ../src/test_parser.nit:61,3
-                            TId "exit" ../src/test_parser.nit:61,3--6
-                            AParExprs ../src/test_parser.nit:61,7--9
-                              TOpar "(" ../src/test_parser.nit:61,7
-                              ADecIntExpr ../src/test_parser.nit:61,8
-                                TNumber "0" ../src/test_parser.nit:61,8
-                              TCpar ")" ../src/test_parser.nit:61,9
-                          TKwend "end" ../src/test_parser.nit:62,2--4
-              ACallExpr ../src/test_parser.nit:63,2--11
-                ACallExpr ../src/test_parser.nit:63,2--5
-                  AImplicitSelfExpr ../src/test_parser.nit:63,2
-                  TId "args" ../src/test_parser.nit:63,2--5
-                  AListExprs ../src/test_parser.nit:63,5
-                TId "shift" ../src/test_parser.nit:63,7--11
-                AListExprs ../src/test_parser.nit:63,11
-              TKwend "end" ../src/test_parser.nit:64,1--3
-          AIfExpr ../src/test_parser.nit:66,1--109,3
-            TKwif "if" ../src/test_parser.nit:66,1--2
-            AOrExpr ../src/test_parser.nit:66,4--29
-              ACallExpr ../src/test_parser.nit:66,4--16
-                ACallExpr ../src/test_parser.nit:66,4--7
-                  AImplicitSelfExpr ../src/test_parser.nit:66,4
-                  TId "args" ../src/test_parser.nit:66,4--7
-                  AListExprs ../src/test_parser.nit:66,7
-                TId "is_empty" ../src/test_parser.nit:66,9--16
-                AListExprs ../src/test_parser.nit:66,16
-              ACallExpr ../src/test_parser.nit:66,21--29
-                AImplicitSelfExpr ../src/test_parser.nit:66,21
-                TId "need_help" ../src/test_parser.nit:66,21--29
-                AListExprs ../src/test_parser.nit:66,29
-            ABlockExpr ../src/test_parser.nit:67,2--74,30
-              ACallExpr ../src/test_parser.nit:67,2--16
-                AImplicitSelfExpr ../src/test_parser.nit:67,2
-                TId "print" ../src/test_parser.nit:67,2--6
-                AParExprs ../src/test_parser.nit:67,7--16
-                  TOpar "(" ../src/test_parser.nit:67,7
-                  AStringExpr ../src/test_parser.nit:67,8--15
-                    TString "\"usage:\"" ../src/test_parser.nit:67,8--15
-                  TCpar ")" ../src/test_parser.nit:67,16
-              ACallExpr ../src/test_parser.nit:68,2--54
-                AImplicitSelfExpr ../src/test_parser.nit:68,2
-                TId "print" ../src/test_parser.nit:68,2--6
-                AParExprs ../src/test_parser.nit:68,7--54
-                  TOpar "(" ../src/test_parser.nit:68,7
-                  AStringExpr ../src/test_parser.nit:68,8--53
-                    TString "\"  test_parser [options]... <filename.nit>...\"" ../src/test_parser.nit:68,8--53
-                  TCpar ")" ../src/test_parser.nit:68,54
-              ACallExpr ../src/test_parser.nit:69,2--18
-                AImplicitSelfExpr ../src/test_parser.nit:69,2
-                TId "print" ../src/test_parser.nit:69,2--6
-                AParExprs ../src/test_parser.nit:69,7--18
-                  TOpar "(" ../src/test_parser.nit:69,7
-                  AStringExpr ../src/test_parser.nit:69,8--17
-                    TString "\"options:\"" ../src/test_parser.nit:69,8--17
-                  TCpar ")" ../src/test_parser.nit:69,18
-              ACallExpr ../src/test_parser.nit:70,2--36
-                AImplicitSelfExpr ../src/test_parser.nit:70,2
-                TId "print" ../src/test_parser.nit:70,2--6
-                AParExprs ../src/test_parser.nit:70,7--36
-                  TOpar "(" ../src/test_parser.nit:70,7
-                  AStringExpr ../src/test_parser.nit:70,8--35
-                    TString "\"  -n\11do not print anything\"" ../src/test_parser.nit:70,8--35
-                  TCpar ")" ../src/test_parser.nit:70,36
-              ACallExpr ../src/test_parser.nit:71,2--25
+            TId "need_help" ../src/test_parser.nit:46,5--13
+            TAssign "=" ../src/test_parser.nit:46,15
+            AFalseExpr ../src/test_parser.nit:46,17--21
+              TKwfalse "false" ../src/test_parser.nit:46,17--21
+          AVardeclExpr ../src/test_parser.nit:47,1--19
+            TKwvar "var" ../src/test_parser.nit:47,1--3
+            TId "no_file" ../src/test_parser.nit:47,5--11
+            TAssign "=" ../src/test_parser.nit:47,13
+            AFalseExpr ../src/test_parser.nit:47,15--19
+              TKwfalse "false" ../src/test_parser.nit:47,15--19
+          AVardeclExpr ../src/test_parser.nit:48,1--23
+            TKwvar "var" ../src/test_parser.nit:48,1--3
+            TId "interactive" ../src/test_parser.nit:48,5--15
+            TAssign "=" ../src/test_parser.nit:48,17
+            AFalseExpr ../src/test_parser.nit:48,19--23
+              TKwfalse "false" ../src/test_parser.nit:48,19--23
+          AWhileExpr ../src/test_parser.nit:50,1--68,3
+            TKwwhile "while" ../src/test_parser.nit:50,1--5
+            AAndExpr ../src/test_parser.nit:50,7--57
+              ANotExpr ../src/test_parser.nit:50,7--23
+                TKwnot "not" ../src/test_parser.nit:50,7--9
+                ACallExpr ../src/test_parser.nit:50,11--23
+                  ACallExpr ../src/test_parser.nit:50,11--14
+                    AImplicitSelfExpr ../src/test_parser.nit:50,11
+                    TId "args" ../src/test_parser.nit:50,11--14
+                    AListExprs ../src/test_parser.nit:50,14
+                  TId "is_empty" ../src/test_parser.nit:50,16--23
+                  AListExprs ../src/test_parser.nit:50,23
+              AEqExpr ../src/test_parser.nit:50,29--57
+                ACallExpr ../src/test_parser.nit:50,29--50
+                  ACallExpr ../src/test_parser.nit:50,29--44
+                    ACallExpr ../src/test_parser.nit:50,29--38
+                      ACallExpr ../src/test_parser.nit:50,29--32
+                        AImplicitSelfExpr ../src/test_parser.nit:50,29
+                        TId "args" ../src/test_parser.nit:50,29--32
+                        AListExprs ../src/test_parser.nit:50,32
+                      TId "first" ../src/test_parser.nit:50,34--38
+                      AListExprs ../src/test_parser.nit:50,38
+                    TId "chars" ../src/test_parser.nit:50,40--44
+                    AListExprs ../src/test_parser.nit:50,44
+                  TId "first" ../src/test_parser.nit:50,46--50
+                  AListExprs ../src/test_parser.nit:50,50
+                ACharExpr ../src/test_parser.nit:50,55--57
+                  TChar "\'-\'" ../src/test_parser.nit:50,55--57
+            TKwdo "do" ../src/test_parser.nit:50,59--60
+            ABlockExpr ../src/test_parser.nit:51,2--68,3
+              AIfExpr ../src/test_parser.nit:51,2--66,4
+                TKwif "if" ../src/test_parser.nit:51,2--3
+                AEqExpr ../src/test_parser.nit:51,5--22
+                  ACallExpr ../src/test_parser.nit:51,5--14
+                    ACallExpr ../src/test_parser.nit:51,5--8
+                      AImplicitSelfExpr ../src/test_parser.nit:51,5
+                      TId "args" ../src/test_parser.nit:51,5--8
+                      AListExprs ../src/test_parser.nit:51,8
+                    TId "first" ../src/test_parser.nit:51,10--14
+                    AListExprs ../src/test_parser.nit:51,14
+                  AStringExpr ../src/test_parser.nit:51,19--22
+                    TString "\"-n\"" ../src/test_parser.nit:51,19--22
+                ABlockExpr ../src/test_parser.nit:52,3--17
+                  ACallAssignExpr ../src/test_parser.nit:52,3--17
+                    AImplicitSelfExpr ../src/test_parser.nit:52,3
+                    TId "no_print" ../src/test_parser.nit:52,3--10
+                    AListExprs ../src/test_parser.nit:52,12
+                    TAssign "=" ../src/test_parser.nit:52,12
+                    ATrueExpr ../src/test_parser.nit:52,14--17
+                      TKwtrue "true" ../src/test_parser.nit:52,14--17
+                AIfExpr ../src/test_parser.nit:53,7--66,4
+                  TKwif "if" ../src/test_parser.nit:53,7--8
+                  AEqExpr ../src/test_parser.nit:53,10--27
+                    ACallExpr ../src/test_parser.nit:53,10--19
+                      ACallExpr ../src/test_parser.nit:53,10--13
+                        AImplicitSelfExpr ../src/test_parser.nit:53,10
+                        TId "args" ../src/test_parser.nit:53,10--13
+                        AListExprs ../src/test_parser.nit:53,13
+                      TId "first" ../src/test_parser.nit:53,15--19
+                      AListExprs ../src/test_parser.nit:53,19
+                    AStringExpr ../src/test_parser.nit:53,24--27
+                      TString "\"-l\"" ../src/test_parser.nit:53,24--27
+                  ABlockExpr ../src/test_parser.nit:54,3--19
+                    ACallAssignExpr ../src/test_parser.nit:54,3--19
+                      AImplicitSelfExpr ../src/test_parser.nit:54,3
+                      TId "only_lexer" ../src/test_parser.nit:54,3--12
+                      AListExprs ../src/test_parser.nit:54,14
+                      TAssign "=" ../src/test_parser.nit:54,14
+                      ATrueExpr ../src/test_parser.nit:54,16--19
+                        TKwtrue "true" ../src/test_parser.nit:54,16--19
+                  AIfExpr ../src/test_parser.nit:55,7--66,4
+                    TKwif "if" ../src/test_parser.nit:55,7--8
+                    AEqExpr ../src/test_parser.nit:55,10--27
+                      ACallExpr ../src/test_parser.nit:55,10--19
+                        ACallExpr ../src/test_parser.nit:55,10--13
+                          AImplicitSelfExpr ../src/test_parser.nit:55,10
+                          TId "args" ../src/test_parser.nit:55,10--13
+                          AListExprs ../src/test_parser.nit:55,13
+                        TId "first" ../src/test_parser.nit:55,15--19
+                        AListExprs ../src/test_parser.nit:55,19
+                      AStringExpr ../src/test_parser.nit:55,24--27
+                        TString "\"-p\"" ../src/test_parser.nit:55,24--27
+                    ABlockExpr ../src/test_parser.nit:56,3--20
+                      ACallAssignExpr ../src/test_parser.nit:56,3--20
+                        AImplicitSelfExpr ../src/test_parser.nit:56,3
+                        TId "only_lexer" ../src/test_parser.nit:56,3--12
+                        AListExprs ../src/test_parser.nit:56,14
+                        TAssign "=" ../src/test_parser.nit:56,14
+                        AFalseExpr ../src/test_parser.nit:56,16--20
+                          TKwfalse "false" ../src/test_parser.nit:56,16--20
+                    AIfExpr ../src/test_parser.nit:57,7--66,4
+                      TKwif "if" ../src/test_parser.nit:57,7--8
+                      AEqExpr ../src/test_parser.nit:57,10--27
+                        ACallExpr ../src/test_parser.nit:57,10--19
+                          ACallExpr ../src/test_parser.nit:57,10--13
+                            AImplicitSelfExpr ../src/test_parser.nit:57,10
+                            TId "args" ../src/test_parser.nit:57,10--13
+                            AListExprs ../src/test_parser.nit:57,13
+                          TId "first" ../src/test_parser.nit:57,15--19
+                          AListExprs ../src/test_parser.nit:57,19
+                        AStringExpr ../src/test_parser.nit:57,24--27
+                          TString "\"-e\"" ../src/test_parser.nit:57,24--27
+                      ABlockExpr ../src/test_parser.nit:58,3--16
+                        ACallAssignExpr ../src/test_parser.nit:58,3--16
+                          AImplicitSelfExpr ../src/test_parser.nit:58,3
+                          TId "no_file" ../src/test_parser.nit:58,3--9
+                          AListExprs ../src/test_parser.nit:58,11
+                          TAssign "=" ../src/test_parser.nit:58,11
+                          ATrueExpr ../src/test_parser.nit:58,13--16
+                            TKwtrue "true" ../src/test_parser.nit:58,13--16
+                      AIfExpr ../src/test_parser.nit:59,7--66,4
+                        TKwif "if" ../src/test_parser.nit:59,7--8
+                        AEqExpr ../src/test_parser.nit:59,10--27
+                          ACallExpr ../src/test_parser.nit:59,10--19
+                            ACallExpr ../src/test_parser.nit:59,10--13
+                              AImplicitSelfExpr ../src/test_parser.nit:59,10
+                              TId "args" ../src/test_parser.nit:59,10--13
+                              AListExprs ../src/test_parser.nit:59,13
+                            TId "first" ../src/test_parser.nit:59,15--19
+                            AListExprs ../src/test_parser.nit:59,19
+                          AStringExpr ../src/test_parser.nit:59,24--27
+                            TString "\"-i\"" ../src/test_parser.nit:59,24--27
+                        ABlockExpr ../src/test_parser.nit:60,3--20
+                          ACallAssignExpr ../src/test_parser.nit:60,3--20
+                            AImplicitSelfExpr ../src/test_parser.nit:60,3
+                            TId "interactive" ../src/test_parser.nit:60,3--13
+                            AListExprs ../src/test_parser.nit:60,15
+                            TAssign "=" ../src/test_parser.nit:60,15
+                            ATrueExpr ../src/test_parser.nit:60,17--20
+                              TKwtrue "true" ../src/test_parser.nit:60,17--20
+                        AIfExpr ../src/test_parser.nit:61,7--66,4
+                          TKwif "if" ../src/test_parser.nit:61,7--8
+                          AOrExpr ../src/test_parser.nit:61,10--49
+                            AEqExpr ../src/test_parser.nit:61,10--27
+                              ACallExpr ../src/test_parser.nit:61,10--19
+                                ACallExpr ../src/test_parser.nit:61,10--13
+                                  AImplicitSelfExpr ../src/test_parser.nit:61,10
+                                  TId "args" ../src/test_parser.nit:61,10--13
+                                  AListExprs ../src/test_parser.nit:61,13
+                                TId "first" ../src/test_parser.nit:61,15--19
+                                AListExprs ../src/test_parser.nit:61,19
+                              AStringExpr ../src/test_parser.nit:61,24--27
+                                TString "\"-h\"" ../src/test_parser.nit:61,24--27
+                            AEqExpr ../src/test_parser.nit:61,32--49
+                              ACallExpr ../src/test_parser.nit:61,32--41
+                                ACallExpr ../src/test_parser.nit:61,32--35
+                                  AImplicitSelfExpr ../src/test_parser.nit:61,32
+                                  TId "args" ../src/test_parser.nit:61,32--35
+                                  AListExprs ../src/test_parser.nit:61,35
+                                TId "first" ../src/test_parser.nit:61,37--41
+                                AListExprs ../src/test_parser.nit:61,41
+                              AStringExpr ../src/test_parser.nit:61,46--49
+                                TString "\"-?\"" ../src/test_parser.nit:61,46--49
+                          ABlockExpr ../src/test_parser.nit:62,3--18
+                            ACallAssignExpr ../src/test_parser.nit:62,3--18
+                              AImplicitSelfExpr ../src/test_parser.nit:62,3
+                              TId "need_help" ../src/test_parser.nit:62,3--11
+                              AListExprs ../src/test_parser.nit:62,13
+                              TAssign "=" ../src/test_parser.nit:62,13
+                              ATrueExpr ../src/test_parser.nit:62,15--18
+                                TKwtrue "true" ../src/test_parser.nit:62,15--18
+                          ABlockExpr ../src/test_parser.nit:64,3--66,4
+                            ACallExpr ../src/test_parser.nit:64,3--48
+                              ACallExpr ../src/test_parser.nit:64,3--8
+                                AImplicitSelfExpr ../src/test_parser.nit:64,3
+                                TId "stderr" ../src/test_parser.nit:64,3--8
+                                AListExprs ../src/test_parser.nit:64,8
+                              TId "write" ../src/test_parser.nit:64,10--14
+                              AParExprs ../src/test_parser.nit:64,15--48
+                                TOpar "(" ../src/test_parser.nit:64,15
+                                ASuperstringExpr ../src/test_parser.nit:64,16--47
+                                  AStartStringExpr ../src/test_parser.nit:64,16--32
+                                    TStartString "\"Unknown option {" ../src/test_parser.nit:64,16--32
+                                  ACallExpr ../src/test_parser.nit:64,33--42
+                                    ACallExpr ../src/test_parser.nit:64,33--36
+                                      AImplicitSelfExpr ../src/test_parser.nit:64,33
+                                      TId "args" ../src/test_parser.nit:64,33--36
+                                      AListExprs ../src/test_parser.nit:64,36
+                                    TId "first" ../src/test_parser.nit:64,38--42
+                                    AListExprs ../src/test_parser.nit:64,42
+                                  AEndStringExpr ../src/test_parser.nit:64,43--47
+                                    TEndString "}.\\n\"" ../src/test_parser.nit:64,43--47
+                                TCpar ")" ../src/test_parser.nit:64,48
+                            ACallExpr ../src/test_parser.nit:65,3--9
+                              AImplicitSelfExpr ../src/test_parser.nit:65,3
+                              TId "exit" ../src/test_parser.nit:65,3--6
+                              AParExprs ../src/test_parser.nit:65,7--9
+                                TOpar "(" ../src/test_parser.nit:65,7
+                                ADecIntExpr ../src/test_parser.nit:65,8
+                                  TNumber "0" ../src/test_parser.nit:65,8
+                                TCpar ")" ../src/test_parser.nit:65,9
+                            TKwend "end" ../src/test_parser.nit:66,2--4
+              ACallExpr ../src/test_parser.nit:67,2--11
+                ACallExpr ../src/test_parser.nit:67,2--5
+                  AImplicitSelfExpr ../src/test_parser.nit:67,2
+                  TId "args" ../src/test_parser.nit:67,2--5
+                  AListExprs ../src/test_parser.nit:67,5
+                TId "shift" ../src/test_parser.nit:67,7--11
+                AListExprs ../src/test_parser.nit:67,11
+              TKwend "end" ../src/test_parser.nit:68,1--3
+          AIfExpr ../src/test_parser.nit:70,1--151,3
+            TKwif "if" ../src/test_parser.nit:70,1--2
+            AOrExpr ../src/test_parser.nit:70,4--51
+              AParExpr ../src/test_parser.nit:70,4--38
+                TOpar "(" ../src/test_parser.nit:70,4
+                AAndExpr ../src/test_parser.nit:70,5--37
+                  ACallExpr ../src/test_parser.nit:70,5--17
+                    ACallExpr ../src/test_parser.nit:70,5--8
+                      AImplicitSelfExpr ../src/test_parser.nit:70,5
+                      TId "args" ../src/test_parser.nit:70,5--8
+                      AListExprs ../src/test_parser.nit:70,8
+                    TId "is_empty" ../src/test_parser.nit:70,10--17
+                    AListExprs ../src/test_parser.nit:70,17
+                  ANotExpr ../src/test_parser.nit:70,23--37
+                    TKwnot "not" ../src/test_parser.nit:70,23--25
+                    ACallExpr ../src/test_parser.nit:70,27--37
+                      AImplicitSelfExpr ../src/test_parser.nit:70,27
+                      TId "interactive" ../src/test_parser.nit:70,27--37
+                      AListExprs ../src/test_parser.nit:70,37
+                TCpar ")" ../src/test_parser.nit:70,38
+              ACallExpr ../src/test_parser.nit:70,43--51
+                AImplicitSelfExpr ../src/test_parser.nit:70,43
+                TId "need_help" ../src/test_parser.nit:70,43--51
+                AListExprs ../src/test_parser.nit:70,51
+            ABlockExpr ../src/test_parser.nit:71,2--81,30
+              ACallExpr ../src/test_parser.nit:71,2--16
                 AImplicitSelfExpr ../src/test_parser.nit:71,2
                 TId "print" ../src/test_parser.nit:71,2--6
-                AParExprs ../src/test_parser.nit:71,7--25
+                AParExprs ../src/test_parser.nit:71,7--16
                   TOpar "(" ../src/test_parser.nit:71,7
-                  AStringExpr ../src/test_parser.nit:71,8--24
-                    TString "\"  -l\11only lexer\"" ../src/test_parser.nit:71,8--24
-                  TCpar ")" ../src/test_parser.nit:71,25
-              ACallExpr ../src/test_parser.nit:72,2--41
+                  AStringExpr ../src/test_parser.nit:71,8--15
+                    TString "\"usage:\"" ../src/test_parser.nit:71,8--15
+                  TCpar ")" ../src/test_parser.nit:71,16
+              ACallExpr ../src/test_parser.nit:72,2--54
                 AImplicitSelfExpr ../src/test_parser.nit:72,2
                 TId "print" ../src/test_parser.nit:72,2--6
-                AParExprs ../src/test_parser.nit:72,7--41
+                AParExprs ../src/test_parser.nit:72,7--54
                   TOpar "(" ../src/test_parser.nit:72,7
-                  AStringExpr ../src/test_parser.nit:72,8--40
-                    TString "\"  -p\11lexer and parser (default)\"" ../src/test_parser.nit:72,8--40
-                  TCpar ")" ../src/test_parser.nit:72,41
-              ACallExpr ../src/test_parser.nit:73,2--68
+                  AStringExpr ../src/test_parser.nit:72,8--53
+                    TString "\"  test_parser [options]... <filename.nit>...\"" ../src/test_parser.nit:72,8--53
+                  TCpar ")" ../src/test_parser.nit:72,54
+              ACallExpr ../src/test_parser.nit:73,2--49
                 AImplicitSelfExpr ../src/test_parser.nit:73,2
                 TId "print" ../src/test_parser.nit:73,2--6
-                AParExprs ../src/test_parser.nit:73,7--68
+                AParExprs ../src/test_parser.nit:73,7--49
                   TOpar "(" ../src/test_parser.nit:73,7
-                  AStringExpr ../src/test_parser.nit:73,8--67
-                    TString "\"  -e\11instead on files, each argument is a content to parse\"" ../src/test_parser.nit:73,8--67
-                  TCpar ")" ../src/test_parser.nit:73,68
-              ACallExpr ../src/test_parser.nit:74,2--30
+                  AStringExpr ../src/test_parser.nit:73,8--48
+                    TString "\"  test_parser -e [options]... <text>...\"" ../src/test_parser.nit:73,8--48
+                  TCpar ")" ../src/test_parser.nit:73,49
+              ACallExpr ../src/test_parser.nit:74,2--39
                 AImplicitSelfExpr ../src/test_parser.nit:74,2
                 TId "print" ../src/test_parser.nit:74,2--6
-                AParExprs ../src/test_parser.nit:74,7--30
+                AParExprs ../src/test_parser.nit:74,7--39
                   TOpar "(" ../src/test_parser.nit:74,7
-                  AStringExpr ../src/test_parser.nit:74,8--29
-                    TString "\"  -h\11print this help\"" ../src/test_parser.nit:74,8--29
-                  TCpar ")" ../src/test_parser.nit:74,30
-            ABlockExpr ../src/test_parser.nit:76,2--109,3
-              AForExpr ../src/test_parser.nit:76,2--108,4
-                TKwfor "for" ../src/test_parser.nit:76,2--4
-                TId "a" ../src/test_parser.nit:76,6
-                ACallExpr ../src/test_parser.nit:76,11--14
-                  AImplicitSelfExpr ../src/test_parser.nit:76,11
-                  TId "args" ../src/test_parser.nit:76,11--14
-                  AListExprs ../src/test_parser.nit:76,14
-                TKwdo "do" ../src/test_parser.nit:76,16--17
-                ABlockExpr ../src/test_parser.nit:77,3--108,4
-                  AVardeclExpr ../src/test_parser.nit:77,3--12
-                    TKwvar "var" ../src/test_parser.nit:77,3--5
-                    TId "source" ../src/test_parser.nit:77,7--12
-                  AIfExpr ../src/test_parser.nit:78,3--84,5
-                    TKwif "if" ../src/test_parser.nit:78,3--4
-                    ACallExpr ../src/test_parser.nit:78,6--12
-                      AImplicitSelfExpr ../src/test_parser.nit:78,6
-                      TId "no_file" ../src/test_parser.nit:78,6--12
-                      AListExprs ../src/test_parser.nit:78,12
-                    ABlockExpr ../src/test_parser.nit:79,4--45
-                      ACallAssignExpr ../src/test_parser.nit:79,4--45
-                        AImplicitSelfExpr ../src/test_parser.nit:79,4
-                        TId "source" ../src/test_parser.nit:79,4--9
-                        AListExprs ../src/test_parser.nit:79,11
-                        TAssign "=" ../src/test_parser.nit:79,11
-                        ANewExpr ../src/test_parser.nit:79,13--45
-                          TKwnew "new" ../src/test_parser.nit:79,13--15
-                          AType ../src/test_parser.nit:79,17--26
-                            TClassid "SourceFile" ../src/test_parser.nit:79,17--26
-                          TId "from_string" ../src/test_parser.nit:79,28--38
-                          AParExprs ../src/test_parser.nit:79,39--45
-                            TOpar "(" ../src/test_parser.nit:79,39
-                            AStringExpr ../src/test_parser.nit:79,40--41
-                              TString "\"\"" ../src/test_parser.nit:79,40--41
-                            ACallExpr ../src/test_parser.nit:79,44
-                              AImplicitSelfExpr ../src/test_parser.nit:79,44
-                              TId "a" ../src/test_parser.nit:79,44
-                              AListExprs ../src/test_parser.nit:79,44
-                            TCpar ")" ../src/test_parser.nit:79,45
-                    ABlockExpr ../src/test_parser.nit:81,4--84,5
-                      AVardeclExpr ../src/test_parser.nit:81,4--31
-                        TKwvar "var" ../src/test_parser.nit:81,4--6
-                        TId "f" ../src/test_parser.nit:81,8
-                        TAssign "=" ../src/test_parser.nit:81,10
-                        ANewExpr ../src/test_parser.nit:81,12--31
-                          TKwnew "new" ../src/test_parser.nit:81,12--14
-                          AType ../src/test_parser.nit:81,16--23
-                            TClassid "IFStream" ../src/test_parser.nit:81,16--23
-                          TId "open" ../src/test_parser.nit:81,25--28
-                          AParExprs ../src/test_parser.nit:81,29--31
-                            TOpar "(" ../src/test_parser.nit:81,29
-                            ACallExpr ../src/test_parser.nit:81,30
-                              AImplicitSelfExpr ../src/test_parser.nit:81,30
-                              TId "a" ../src/test_parser.nit:81,30
-                              AListExprs ../src/test_parser.nit:81,30
-                            TCpar ")" ../src/test_parser.nit:81,31
-                      ACallAssignExpr ../src/test_parser.nit:82,4--32
-                        AImplicitSelfExpr ../src/test_parser.nit:82,4
-                        TId "source" ../src/test_parser.nit:82,4--9
-                        AListExprs ../src/test_parser.nit:82,11
-                        TAssign "=" ../src/test_parser.nit:82,11
-                        ANewExpr ../src/test_parser.nit:82,13--32
-                          TKwnew "new" ../src/test_parser.nit:82,13--15
-                          AType ../src/test_parser.nit:82,17--26
-                            TClassid "SourceFile" ../src/test_parser.nit:82,17--26
-                          AParExprs ../src/test_parser.nit:82,27--32
-                            TOpar "(" ../src/test_parser.nit:82,27
-                            ACallExpr ../src/test_parser.nit:82,28
-                              AImplicitSelfExpr ../src/test_parser.nit:82,28
-                              TId "a" ../src/test_parser.nit:82,28
-                              AListExprs ../src/test_parser.nit:82,28
-                            ACallExpr ../src/test_parser.nit:82,31
-                              AImplicitSelfExpr ../src/test_parser.nit:82,31
-                              TId "f" ../src/test_parser.nit:82,31
-                              AListExprs ../src/test_parser.nit:82,31
-                            TCpar ")" ../src/test_parser.nit:82,32
-                      ACallExpr ../src/test_parser.nit:83,4--10
-                        ACallExpr ../src/test_parser.nit:83,4
-                          AImplicitSelfExpr ../src/test_parser.nit:83,4
-                          TId "f" ../src/test_parser.nit:83,4
-                          AListExprs ../src/test_parser.nit:83,4
-                        TId "close" ../src/test_parser.nit:83,6--10
-                        AListExprs ../src/test_parser.nit:83,10
-                      TKwend "end" ../src/test_parser.nit:84,3--5
-                  AVardeclExpr ../src/test_parser.nit:85,3--31
-                    TKwvar "var" ../src/test_parser.nit:85,3--5
-                    TId "lexer" ../src/test_parser.nit:85,7--11
-                    TAssign "=" ../src/test_parser.nit:85,13
-                    ANewExpr ../src/test_parser.nit:85,15--31
-                      TKwnew "new" ../src/test_parser.nit:85,15--17
-                      AType ../src/test_parser.nit:85,19--23
-                        TClassid "Lexer" ../src/test_parser.nit:85,19--23
-                      AParExprs ../src/test_parser.nit:85,24--31
-                        TOpar "(" ../src/test_parser.nit:85,24
-                        ACallExpr ../src/test_parser.nit:85,25--30
-                          AImplicitSelfExpr ../src/test_parser.nit:85,25
-                          TId "source" ../src/test_parser.nit:85,25--30
-                          AListExprs ../src/test_parser.nit:85,30
-                        TCpar ")" ../src/test_parser.nit:85,31
-                  AIfExpr ../src/test_parser.nit:86,3--107,5
-                    TKwif "if" ../src/test_parser.nit:86,3--4
-                    ACallExpr ../src/test_parser.nit:86,6--15
-                      AImplicitSelfExpr ../src/test_parser.nit:86,6
-                      TId "only_lexer" ../src/test_parser.nit:86,6--15
-                      AListExprs ../src/test_parser.nit:86,15
-                    ABlockExpr ../src/test_parser.nit:87,4--93,6
-                      AVardeclExpr ../src/test_parser.nit:87,4--25
-                        TKwvar "var" ../src/test_parser.nit:87,4--6
-                        TId "token" ../src/test_parser.nit:87,8--12
-                        TAssign "=" ../src/test_parser.nit:87,14
-                        ACallExpr ../src/test_parser.nit:87,16--25
-                          ACallExpr ../src/test_parser.nit:87,16--20
-                            AImplicitSelfExpr ../src/test_parser.nit:87,16
-                            TId "lexer" ../src/test_parser.nit:87,16--20
-                            AListExprs ../src/test_parser.nit:87,20
-                          TId "next" ../src/test_parser.nit:87,22--25
-                          AListExprs ../src/test_parser.nit:87,25
-                      AWhileExpr ../src/test_parser.nit:88,4--93,6
-                        TKwwhile "while" ../src/test_parser.nit:88,4--8
-                        ANotExpr ../src/test_parser.nit:88,10--26
-                          TKwnot "not" ../src/test_parser.nit:88,10--12
-                          AIsaExpr ../src/test_parser.nit:88,14--26
-                            ACallExpr ../src/test_parser.nit:88,14--18
-                              AImplicitSelfExpr ../src/test_parser.nit:88,14
-                              TId "token" ../src/test_parser.nit:88,14--18
-                              AListExprs ../src/test_parser.nit:88,18
-                            AType ../src/test_parser.nit:88,24--26
-                              TClassid "EOF" ../src/test_parser.nit:88,24--26
-                        TKwdo "do" ../src/test_parser.nit:88,28--29
-                        ABlockExpr ../src/test_parser.nit:89,5--93,6
-                          AIfExpr ../src/test_parser.nit:89,5--91,7
-                            TKwif "if" ../src/test_parser.nit:89,5--6
-                            ANotExpr ../src/test_parser.nit:89,8--19
-                              TKwnot "not" ../src/test_parser.nit:89,8--10
-                              ACallExpr ../src/test_parser.nit:89,12--19
-                                AImplicitSelfExpr ../src/test_parser.nit:89,12
-                                TId "no_print" ../src/test_parser.nit:89,12--19
-                                AListExprs ../src/test_parser.nit:89,19
-                            ABlockExpr ../src/test_parser.nit:90,6--64
-                              ACallExpr ../src/test_parser.nit:90,6--64
-                                AImplicitSelfExpr ../src/test_parser.nit:90,6
-                                TId "print" ../src/test_parser.nit:90,6--10
-                                AParExprs ../src/test_parser.nit:90,11--64
-                                  TOpar "(" ../src/test_parser.nit:90,11
-                                  ASuperstringExpr ../src/test_parser.nit:90,12--63
-                                    AStartStringExpr ../src/test_parser.nit:90,12--27
-                                      TStartString "\"Read token at {" ../src/test_parser.nit:90,12--27
-                                    ACallExpr ../src/test_parser.nit:90,28--41
-                                      ACallExpr ../src/test_parser.nit:90,28--32
-                                        AImplicitSelfExpr ../src/test_parser.nit:90,28
-                                        TId "token" ../src/test_parser.nit:90,28--32
-                                        AListExprs ../src/test_parser.nit:90,32
-                                      TId "location" ../src/test_parser.nit:90,34--41
-                                      AListExprs ../src/test_parser.nit:90,41
-                                    AMidStringExpr ../src/test_parser.nit:90,42--50
-                                      TMidString "} text=\'{" ../src/test_parser.nit:90,42--50
-                                    ACallExpr ../src/test_parser.nit:90,51--60
-                                      ACallExpr ../src/test_parser.nit:90,51--55
-                                        AImplicitSelfExpr ../src/test_parser.nit:90,51
-                                        TId "token" ../src/test_parser.nit:90,51--55
-                                        AListExprs ../src/test_parser.nit:90,55
-                                      TId "text" ../src/test_parser.nit:90,57--60
-                                      AListExprs ../src/test_parser.nit:90,60
-                                    AEndStringExpr ../src/test_parser.nit:90,61--63
-                                      TEndString "}\'\"" ../src/test_parser.nit:90,61--63
-                                  TCpar ")" ../src/test_parser.nit:90,64
-                            ABlockExpr ../src/test_parser.nit:91,5--7
-                              TKwend "end" ../src/test_parser.nit:91,5--7
-                          ACallAssignExpr ../src/test_parser.nit:92,5--22
-                            AImplicitSelfExpr ../src/test_parser.nit:92,5
-                            TId "token" ../src/test_parser.nit:92,5--9
-                            AListExprs ../src/test_parser.nit:92,11
-                            TAssign "=" ../src/test_parser.nit:92,11
-                            ACallExpr ../src/test_parser.nit:92,13--22
-                              ACallExpr ../src/test_parser.nit:92,13--17
-                                AImplicitSelfExpr ../src/test_parser.nit:92,13
-                                TId "lexer" ../src/test_parser.nit:92,13--17
-                                AListExprs ../src/test_parser.nit:92,17
-                              TId "next" ../src/test_parser.nit:92,19--22
-                              AListExprs ../src/test_parser.nit:92,22
-                          TKwend "end" ../src/test_parser.nit:93,4--6
-                    ABlockExpr ../src/test_parser.nit:95,4--107,5
-                      AVardeclExpr ../src/test_parser.nit:95,4--33
-                        TKwvar "var" ../src/test_parser.nit:95,4--6
-                        TId "parser" ../src/test_parser.nit:95,8--13
-                        TAssign "=" ../src/test_parser.nit:95,15
-                        ANewExpr ../src/test_parser.nit:95,17--33
-                          TKwnew "new" ../src/test_parser.nit:95,17--19
-                          AType ../src/test_parser.nit:95,21--26
-                            TClassid "Parser" ../src/test_parser.nit:95,21--26
-                          AParExprs ../src/test_parser.nit:95,27--33
-                            TOpar "(" ../src/test_parser.nit:95,27
-                            ACallExpr ../src/test_parser.nit:95,28--32
-                              AImplicitSelfExpr ../src/test_parser.nit:95,28
-                              TId "lexer" ../src/test_parser.nit:95,28--32
-                              AListExprs ../src/test_parser.nit:95,32
-                            TCpar ")" ../src/test_parser.nit:95,33
-                      AVardeclExpr ../src/test_parser.nit:96,4--26
-                        TKwvar "var" ../src/test_parser.nit:96,4--6
-                        TId "tree" ../src/test_parser.nit:96,8--11
-                        TAssign "=" ../src/test_parser.nit:96,13
-                        ACallExpr ../src/test_parser.nit:96,15--26
-                          ACallExpr ../src/test_parser.nit:96,15--20
-                            AImplicitSelfExpr ../src/test_parser.nit:96,15
-                            TId "parser" ../src/test_parser.nit:96,15--20
-                            AListExprs ../src/test_parser.nit:96,20
-                          TId "parse" ../src/test_parser.nit:96,22--26
-                          AListExprs ../src/test_parser.nit:96,26
-                      AVardeclExpr ../src/test_parser.nit:98,4--25
-                        TKwvar "var" ../src/test_parser.nit:98,4--6
-                        TId "error" ../src/test_parser.nit:98,8--12
-                        TAssign "=" ../src/test_parser.nit:98,14
-                        ACallExpr ../src/test_parser.nit:98,16--25
-                          ACallExpr ../src/test_parser.nit:98,16--19
-                            AImplicitSelfExpr ../src/test_parser.nit:98,16
-                            TId "tree" ../src/test_parser.nit:98,16--19
-                            AListExprs ../src/test_parser.nit:98,19
-                          TId "n_eof" ../src/test_parser.nit:98,21--25
-                          AListExprs ../src/test_parser.nit:98,25
-                      AIfExpr ../src/test_parser.nit:99,4--102,6
-                        TKwif "if" ../src/test_parser.nit:99,4--5
-                        AIsaExpr ../src/test_parser.nit:99,7--22
-                          ACallExpr ../src/test_parser.nit:99,7--11
-                            AImplicitSelfExpr ../src/test_parser.nit:99,7
-                            TId "error" ../src/test_parser.nit:99,7--11
-                            AListExprs ../src/test_parser.nit:99,11
-                          AType ../src/test_parser.nit:99,17--22
-                            TClassid "AError" ../src/test_parser.nit:99,17--22
-                        ABlockExpr ../src/test_parser.nit:100,5--101,10
-                          ACallExpr ../src/test_parser.nit:100,5--58
-                            AImplicitSelfExpr ../src/test_parser.nit:100,5
-                            TId "print" ../src/test_parser.nit:100,5--9
-                            AParExprs ../src/test_parser.nit:100,10--58
-                              TOpar "(" ../src/test_parser.nit:100,10
-                              ASuperstringExpr ../src/test_parser.nit:100,11--57
-                                AStartStringExpr ../src/test_parser.nit:100,11--21
-                                  TStartString "\"Error at {" ../src/test_parser.nit:100,11--21
-                                ACallExpr ../src/test_parser.nit:100,22--35
-                                  ACallExpr ../src/test_parser.nit:100,22--26
-                                    AImplicitSelfExpr ../src/test_parser.nit:100,22
-                                    TId "error" ../src/test_parser.nit:100,22--26
-                                    AListExprs ../src/test_parser.nit:100,26
-                                  TId "location" ../src/test_parser.nit:100,28--35
-                                  AListExprs ../src/test_parser.nit:100,35
-                                AMidStringExpr ../src/test_parser.nit:100,36--42
-                                  TMidString "}:\\n\\t{" ../src/test_parser.nit:100,36--42
-                                ACallExpr ../src/test_parser.nit:100,43--55
-                                  ACallExpr ../src/test_parser.nit:100,43--47
-                                    AImplicitSelfExpr ../src/test_parser.nit:100,43
-                                    TId "error" ../src/test_parser.nit:100,43--47
-                                    AListExprs ../src/test_parser.nit:100,47
-                                  TId "message" ../src/test_parser.nit:100,49--55
-                                  AListExprs ../src/test_parser.nit:100,55
-                                AEndStringExpr ../src/test_parser.nit:100,56--57
-                                  TEndString "}\"" ../src/test_parser.nit:100,56--57
-                              TCpar ")" ../src/test_parser.nit:100,58
-                          AReturnExpr ../src/test_parser.nit:101,5--10
-                            TKwreturn "return" ../src/test_parser.nit:101,5--10
-                        ABlockExpr ../src/test_parser.nit:102,4--6
-                          TKwend "end" ../src/test_parser.nit:102,4--6
-                      AIfExpr ../src/test_parser.nit:104,4--106,6
-                        TKwif "if" ../src/test_parser.nit:104,4--5
-                        ANotExpr ../src/test_parser.nit:104,7--18
-                          TKwnot "not" ../src/test_parser.nit:104,7--9
-                          ACallExpr ../src/test_parser.nit:104,11--18
-                            AImplicitSelfExpr ../src/test_parser.nit:104,11
-                            TId "no_print" ../src/test_parser.nit:104,11--18
-                            AListExprs ../src/test_parser.nit:104,18
-                        ABlockExpr ../src/test_parser.nit:105,5--44
-                          ACallExpr ../src/test_parser.nit:105,5--44
-                            AParExpr ../src/test_parser.nit:105,5--26
-                              TOpar "(" ../src/test_parser.nit:105,5
-                              ANewExpr ../src/test_parser.nit:105,6--25
-                                TKwnew "new" ../src/test_parser.nit:105,6--8
-                                AType ../src/test_parser.nit:105,10--25
-                                  TClassid "PrintTreeVisitor" ../src/test_parser.nit:105,10--25
-                                AListExprs ../src/test_parser.nit:105,25
-                              TCpar ")" ../src/test_parser.nit:105,26
-                            TId "enter_visit" ../src/test_parser.nit:105,28--38
-                            AParExprs ../src/test_parser.nit:105,39--44
-                              TOpar "(" ../src/test_parser.nit:105,39
-                              ACallExpr ../src/test_parser.nit:105,40--43
-                                AImplicitSelfExpr ../src/test_parser.nit:105,40
-                                TId "tree" ../src/test_parser.nit:105,40--43
-                                AListExprs ../src/test_parser.nit:105,43
-                              TCpar ")" ../src/test_parser.nit:105,44
-                        ABlockExpr ../src/test_parser.nit:106,4--6
-                          TKwend "end" ../src/test_parser.nit:106,4--6
-                      TKwend "end" ../src/test_parser.nit:107,3--5
-                  TKwend "end" ../src/test_parser.nit:108,2--4
-              TKwend "end" ../src/test_parser.nit:109,1--3
-  EOF "" ../src/test_parser.nit:110,1
+                  AStringExpr ../src/test_parser.nit:74,8--38
+                    TString "\"  test_parser -i [options]...\"" ../src/test_parser.nit:74,8--38
+                  TCpar ")" ../src/test_parser.nit:74,39
+              ACallExpr ../src/test_parser.nit:75,2--18
+                AImplicitSelfExpr ../src/test_parser.nit:75,2
+                TId "print" ../src/test_parser.nit:75,2--6
+                AParExprs ../src/test_parser.nit:75,7--18
+                  TOpar "(" ../src/test_parser.nit:75,7
+                  AStringExpr ../src/test_parser.nit:75,8--17
+                    TString "\"options:\"" ../src/test_parser.nit:75,8--17
+                  TCpar ")" ../src/test_parser.nit:75,18
+              ACallExpr ../src/test_parser.nit:76,2--36
+                AImplicitSelfExpr ../src/test_parser.nit:76,2
+                TId "print" ../src/test_parser.nit:76,2--6
+                AParExprs ../src/test_parser.nit:76,7--36
+                  TOpar "(" ../src/test_parser.nit:76,7
+                  AStringExpr ../src/test_parser.nit:76,8--35
+                    TString "\"  -n\11do not print anything\"" ../src/test_parser.nit:76,8--35
+                  TCpar ")" ../src/test_parser.nit:76,36
+              ACallExpr ../src/test_parser.nit:77,2--25
+                AImplicitSelfExpr ../src/test_parser.nit:77,2
+                TId "print" ../src/test_parser.nit:77,2--6
+                AParExprs ../src/test_parser.nit:77,7--25
+                  TOpar "(" ../src/test_parser.nit:77,7
+                  AStringExpr ../src/test_parser.nit:77,8--24
+                    TString "\"  -l\11only lexer\"" ../src/test_parser.nit:77,8--24
+                  TCpar ")" ../src/test_parser.nit:77,25
+              ACallExpr ../src/test_parser.nit:78,2--41
+                AImplicitSelfExpr ../src/test_parser.nit:78,2
+                TId "print" ../src/test_parser.nit:78,2--6
+                AParExprs ../src/test_parser.nit:78,7--41
+                  TOpar "(" ../src/test_parser.nit:78,7
+                  AStringExpr ../src/test_parser.nit:78,8--40
+                    TString "\"  -p\11lexer and parser (default)\"" ../src/test_parser.nit:78,8--40
+                  TCpar ")" ../src/test_parser.nit:78,41
+              ACallExpr ../src/test_parser.nit:79,2--68
+                AImplicitSelfExpr ../src/test_parser.nit:79,2
+                TId "print" ../src/test_parser.nit:79,2--6
+                AParExprs ../src/test_parser.nit:79,7--68
+                  TOpar "(" ../src/test_parser.nit:79,7
+                  AStringExpr ../src/test_parser.nit:79,8--67
+                    TString "\"  -e\11instead on files, each argument is a content to parse\"" ../src/test_parser.nit:79,8--67
+                  TCpar ")" ../src/test_parser.nit:79,68
+              ACallExpr ../src/test_parser.nit:80,2--51
+                AImplicitSelfExpr ../src/test_parser.nit:80,2
+                TId "print" ../src/test_parser.nit:80,2--6
+                AParExprs ../src/test_parser.nit:80,7--51
+                  TOpar "(" ../src/test_parser.nit:80,7
+                  AStringExpr ../src/test_parser.nit:80,8--50
+                    TString "\"  -i\11tree to parse are read interactively\"" ../src/test_parser.nit:80,8--50
+                  TCpar ")" ../src/test_parser.nit:80,51
+              ACallExpr ../src/test_parser.nit:81,2--30
+                AImplicitSelfExpr ../src/test_parser.nit:81,2
+                TId "print" ../src/test_parser.nit:81,2--6
+                AParExprs ../src/test_parser.nit:81,7--30
+                  TOpar "(" ../src/test_parser.nit:81,7
+                  AStringExpr ../src/test_parser.nit:81,8--29
+                    TString "\"  -h\11print this help\"" ../src/test_parser.nit:81,8--29
+                  TCpar ")" ../src/test_parser.nit:81,30
+            AIfExpr ../src/test_parser.nit:82,6--151,3
+              TKwif "if" ../src/test_parser.nit:82,6--7
+              ACallExpr ../src/test_parser.nit:82,9--19
+                AImplicitSelfExpr ../src/test_parser.nit:82,9
+                TId "interactive" ../src/test_parser.nit:82,9--19
+                AListExprs ../src/test_parser.nit:82,19
+              ABlockExpr ../src/test_parser.nit:83,2--116,4
+                AIfExpr ../src/test_parser.nit:83,2--92,4
+                  TKwif "if" ../src/test_parser.nit:83,2--3
+                  ACallExpr ../src/test_parser.nit:83,5--14
+                    AImplicitSelfExpr ../src/test_parser.nit:83,5
+                    TId "only_lexer" ../src/test_parser.nit:83,5--14
+                    AListExprs ../src/test_parser.nit:83,14
+                  ABlockExpr ../src/test_parser.nit:84,3--85,8
+                    ACallExpr ../src/test_parser.nit:84,3--44
+                      AImplicitSelfExpr ../src/test_parser.nit:84,3
+                      TId "print" ../src/test_parser.nit:84,3--7
+                      AListExprs ../src/test_parser.nit:84,9--44
+                        AStringExpr ../src/test_parser.nit:84,9--44
+                          TString "\"Error: -l and -i are incompatibles\"" ../src/test_parser.nit:84,9--44
+                    ACallExpr ../src/test_parser.nit:85,3--8
+                      AImplicitSelfExpr ../src/test_parser.nit:85,3
+                      TId "exit" ../src/test_parser.nit:85,3--6
+                      AListExprs ../src/test_parser.nit:85,8
+                        ADecIntExpr ../src/test_parser.nit:85,8
+                          TNumber "1" ../src/test_parser.nit:85,8
+                  AIfExpr ../src/test_parser.nit:86,7--92,4
+                    TKwif "if" ../src/test_parser.nit:86,7--8
+                    ACallExpr ../src/test_parser.nit:86,10--16
+                      AImplicitSelfExpr ../src/test_parser.nit:86,10
+                      TId "no_file" ../src/test_parser.nit:86,10--16
+                      AListExprs ../src/test_parser.nit:86,16
+                    ABlockExpr ../src/test_parser.nit:87,3--88,8
+                      ACallExpr ../src/test_parser.nit:87,3--44
+                        AImplicitSelfExpr ../src/test_parser.nit:87,3
+                        TId "print" ../src/test_parser.nit:87,3--7
+                        AListExprs ../src/test_parser.nit:87,9--44
+                          AStringExpr ../src/test_parser.nit:87,9--44
+                            TString "\"Error: -e and -i are incompatibles\"" ../src/test_parser.nit:87,9--44
+                      ACallExpr ../src/test_parser.nit:88,3--8
+                        AImplicitSelfExpr ../src/test_parser.nit:88,3
+                        TId "exit" ../src/test_parser.nit:88,3--6
+                        AListExprs ../src/test_parser.nit:88,8
+                          ADecIntExpr ../src/test_parser.nit:88,8
+                            TNumber "1" ../src/test_parser.nit:88,8
+                    AIfExpr ../src/test_parser.nit:89,7--92,4
+                      TKwif "if" ../src/test_parser.nit:89,7--8
+                      ANotExpr ../src/test_parser.nit:89,10--26
+                        TKwnot "not" ../src/test_parser.nit:89,10--12
+                        ACallExpr ../src/test_parser.nit:89,14--26
+                          ACallExpr ../src/test_parser.nit:89,14--17
+                            AImplicitSelfExpr ../src/test_parser.nit:89,14
+                            TId "args" ../src/test_parser.nit:89,14--17
+                            AListExprs ../src/test_parser.nit:89,17
+                          TId "is_empty" ../src/test_parser.nit:89,19--26
+                          AListExprs ../src/test_parser.nit:89,26
+                      ABlockExpr ../src/test_parser.nit:90,3--91,8
+                        ACallExpr ../src/test_parser.nit:90,3--43
+                          AImplicitSelfExpr ../src/test_parser.nit:90,3
+                          TId "print" ../src/test_parser.nit:90,3--7
+                          AListExprs ../src/test_parser.nit:90,9--43
+                            AStringExpr ../src/test_parser.nit:90,9--43
+                              TString "\"Error: -i works without arguments\"" ../src/test_parser.nit:90,9--43
+                        ACallExpr ../src/test_parser.nit:91,3--8
+                          AImplicitSelfExpr ../src/test_parser.nit:91,3
+                          TId "exit" ../src/test_parser.nit:91,3--6
+                          AListExprs ../src/test_parser.nit:91,8
+                            ADecIntExpr ../src/test_parser.nit:91,8
+                              TNumber "1" ../src/test_parser.nit:91,8
+                      ABlockExpr ../src/test_parser.nit:92,2--4
+                        TKwend "end" ../src/test_parser.nit:92,2--4
+                AVardeclExpr ../src/test_parser.nit:94,2--25
+                  TKwvar "var" ../src/test_parser.nit:94,2--4
+                  TId "tc" ../src/test_parser.nit:94,6--7
+                  TAssign "=" ../src/test_parser.nit:94,9
+                  ANewExpr ../src/test_parser.nit:94,11--25
+                    TKwnew "new" ../src/test_parser.nit:94,11--13
+                    AType ../src/test_parser.nit:94,15--25
+                      TClassid "ToolContext" ../src/test_parser.nit:94,15--25
+                    AListExprs ../src/test_parser.nit:94,25
+                ALoopExpr ../src/test_parser.nit:96,2--116,4
+                  TKwloop "loop" ../src/test_parser.nit:96,2--5
+                  ABlockExpr ../src/test_parser.nit:97,3--116,4
+                    AVardeclExpr ../src/test_parser.nit:97,3--37
+                      TKwvar "var" ../src/test_parser.nit:97,3--5
+                      TId "n" ../src/test_parser.nit:97,7
+                      TAssign "=" ../src/test_parser.nit:97,9
+                      ACallExpr ../src/test_parser.nit:97,11--37
+                        ACallExpr ../src/test_parser.nit:97,11--12
+                          AImplicitSelfExpr ../src/test_parser.nit:97,11
+                          TId "tc" ../src/test_parser.nit:97,11--12
+                          AListExprs ../src/test_parser.nit:97,12
+                        TId "interactive_parse" ../src/test_parser.nit:97,14--30
+                        AParExprs ../src/test_parser.nit:97,31--37
+                          TOpar "(" ../src/test_parser.nit:97,31
+                          AStringExpr ../src/test_parser.nit:97,32--36
+                            TString "\"-->\"" ../src/test_parser.nit:97,32--36
+                          TCpar ")" ../src/test_parser.nit:97,37
+                    AIfExpr ../src/test_parser.nit:98,3--106,5
+                      TKwif "if" ../src/test_parser.nit:98,3--4
+                      AIsaExpr ../src/test_parser.nit:98,6--18
+                        ACallExpr ../src/test_parser.nit:98,6
+                          AImplicitSelfExpr ../src/test_parser.nit:98,6
+                          TId "n" ../src/test_parser.nit:98,6
+                          AListExprs ../src/test_parser.nit:98,6
+                        AType ../src/test_parser.nit:98,12--18
+                          TClassid "TString" ../src/test_parser.nit:98,12--18
+                      ABlockExpr ../src/test_parser.nit:99,4--105,11
+                        AVardeclExpr ../src/test_parser.nit:99,4--17
+                          TKwvar "var" ../src/test_parser.nit:99,4--6
+                          TId "s" ../src/test_parser.nit:99,8
+                          TAssign "=" ../src/test_parser.nit:99,10
+                          ACallExpr ../src/test_parser.nit:99,12--17
+                            ACallExpr ../src/test_parser.nit:99,12
+                              AImplicitSelfExpr ../src/test_parser.nit:99,12
+                              TId "n" ../src/test_parser.nit:99,12
+                              AListExprs ../src/test_parser.nit:99,12
+                            TId "text" ../src/test_parser.nit:99,14--17
+                            AListExprs ../src/test_parser.nit:99,17
+                        AIfExpr ../src/test_parser.nit:100,4--104,6
+                          TKwif "if" ../src/test_parser.nit:100,4--5
+                          AEqExpr ../src/test_parser.nit:100,7--15
+                            ACallExpr ../src/test_parser.nit:100,7
+                              AImplicitSelfExpr ../src/test_parser.nit:100,7
+                              TId "s" ../src/test_parser.nit:100,7
+                              AListExprs ../src/test_parser.nit:100,7
+                            AStringExpr ../src/test_parser.nit:100,12--15
+                              TString "\":q\"" ../src/test_parser.nit:100,12--15
+                          ABlockExpr ../src/test_parser.nit:101,5--9
+                            ABreakExpr ../src/test_parser.nit:101,5--9
+                              TKwbreak "break" ../src/test_parser.nit:101,5--9
+                          ABlockExpr ../src/test_parser.nit:103,5--104,6
+                            ACallExpr ../src/test_parser.nit:103,5--24
+                              AImplicitSelfExpr ../src/test_parser.nit:103,5
+                              TId "print" ../src/test_parser.nit:103,5--9
+                              AListExprs ../src/test_parser.nit:103,11--24
+                                AStringExpr ../src/test_parser.nit:103,11--24
+                                  TString "\"`:q` to quit\"" ../src/test_parser.nit:103,11--24
+                            TKwend "end" ../src/test_parser.nit:104,4--6
+                        AContinueExpr ../src/test_parser.nit:105,4--11
+                          TKwcontinue "continue" ../src/test_parser.nit:105,4--11
+                      ABlockExpr ../src/test_parser.nit:106,3--5
+                        TKwend "end" ../src/test_parser.nit:106,3--5
+                    AIfExpr ../src/test_parser.nit:108,3--111,5
+                      TKwif "if" ../src/test_parser.nit:108,3--4
+                      AIsaExpr ../src/test_parser.nit:108,6--17
+                        ACallExpr ../src/test_parser.nit:108,6
+                          AImplicitSelfExpr ../src/test_parser.nit:108,6
+                          TId "n" ../src/test_parser.nit:108,6
+                          AListExprs ../src/test_parser.nit:108,6
+                        AType ../src/test_parser.nit:108,12--17
+                          TClassid "AError" ../src/test_parser.nit:108,12--17
+                      ABlockExpr ../src/test_parser.nit:109,4--110,11
+                        ACallExpr ../src/test_parser.nit:109,4--57
+                          AImplicitSelfExpr ../src/test_parser.nit:109,4
+                          TId "print" ../src/test_parser.nit:109,4--8
+                          AListExprs ../src/test_parser.nit:109,10--57
+                            ASuperstringExpr ../src/test_parser.nit:109,10--57
+                              AStartStringExpr ../src/test_parser.nit:109,10--11
+                                TStartString "\"{" ../src/test_parser.nit:109,10--11
+                              ACallExpr ../src/test_parser.nit:109,12--42
+                                ACallExpr ../src/test_parser.nit:109,12--21
+                                  ACallExpr ../src/test_parser.nit:109,12
+                                    AImplicitSelfExpr ../src/test_parser.nit:109,12
+                                    TId "n" ../src/test_parser.nit:109,12
+                                    AListExprs ../src/test_parser.nit:109,12
+                                  TId "location" ../src/test_parser.nit:109,14--21
+                                  AListExprs ../src/test_parser.nit:109,21
+                                TId "colored_line" ../src/test_parser.nit:109,23--34
+                                AParExprs ../src/test_parser.nit:109,35--42
+                                  TOpar "(" ../src/test_parser.nit:109,35
+                                  AStringExpr ../src/test_parser.nit:109,36--41
+                                    TString "\"0;31\"" ../src/test_parser.nit:109,36--41
+                                  TCpar ")" ../src/test_parser.nit:109,42
+                              AMidStringExpr ../src/test_parser.nit:109,43--46
+                                TMidString "}: {" ../src/test_parser.nit:109,43--46
+                              ACallExpr ../src/test_parser.nit:109,47--55
+                                ACallExpr ../src/test_parser.nit:109,47
+                                  AImplicitSelfExpr ../src/test_parser.nit:109,47
+                                  TId "n" ../src/test_parser.nit:109,47
+                                  AListExprs ../src/test_parser.nit:109,47
+                                TId "message" ../src/test_parser.nit:109,49--55
+                                AListExprs ../src/test_parser.nit:109,55
+                              AEndStringExpr ../src/test_parser.nit:109,56--57
+                                TEndString "}\"" ../src/test_parser.nit:109,56--57
+                        AContinueExpr ../src/test_parser.nit:110,4--11
+                          TKwcontinue "continue" ../src/test_parser.nit:110,4--11
+                      ABlockExpr ../src/test_parser.nit:111,3--5
+                        TKwend "end" ../src/test_parser.nit:111,3--5
+                    AIfExpr ../src/test_parser.nit:113,3--115,5
+                      TKwif "if" ../src/test_parser.nit:113,3--4
+                      ANotExpr ../src/test_parser.nit:113,6--17
+                        TKwnot "not" ../src/test_parser.nit:113,6--8
+                        ACallExpr ../src/test_parser.nit:113,10--17
+                          AImplicitSelfExpr ../src/test_parser.nit:113,10
+                          TId "no_print" ../src/test_parser.nit:113,10--17
+                          AListExprs ../src/test_parser.nit:113,17
+                      ABlockExpr ../src/test_parser.nit:114,4--40
+                        ACallExpr ../src/test_parser.nit:114,4--40
+                          AParExpr ../src/test_parser.nit:114,4--25
+                            TOpar "(" ../src/test_parser.nit:114,4
+                            ANewExpr ../src/test_parser.nit:114,5--24
+                              TKwnew "new" ../src/test_parser.nit:114,5--7
+                              AType ../src/test_parser.nit:114,9--24
+                                TClassid "PrintTreeVisitor" ../src/test_parser.nit:114,9--24
+                              AListExprs ../src/test_parser.nit:114,24
+                            TCpar ")" ../src/test_parser.nit:114,25
+                          TId "enter_visit" ../src/test_parser.nit:114,27--37
+                          AParExprs ../src/test_parser.nit:114,38--40
+                            TOpar "(" ../src/test_parser.nit:114,38
+                            ACallExpr ../src/test_parser.nit:114,39
+                              AImplicitSelfExpr ../src/test_parser.nit:114,39
+                              TId "n" ../src/test_parser.nit:114,39
+                              AListExprs ../src/test_parser.nit:114,39
+                            TCpar ")" ../src/test_parser.nit:114,40
+                      ABlockExpr ../src/test_parser.nit:115,3--5
+                        TKwend "end" ../src/test_parser.nit:115,3--5
+                    TKwend "end" ../src/test_parser.nit:116,2--4
+              ABlockExpr ../src/test_parser.nit:118,2--151,3
+                AForExpr ../src/test_parser.nit:118,2--150,4
+                  TKwfor "for" ../src/test_parser.nit:118,2--4
+                  TId "a" ../src/test_parser.nit:118,6
+                  ACallExpr ../src/test_parser.nit:118,11--14
+                    AImplicitSelfExpr ../src/test_parser.nit:118,11
+                    TId "args" ../src/test_parser.nit:118,11--14
+                    AListExprs ../src/test_parser.nit:118,14
+                  TKwdo "do" ../src/test_parser.nit:118,16--17
+                  ABlockExpr ../src/test_parser.nit:119,3--150,4
+                    AVardeclExpr ../src/test_parser.nit:119,3--12
+                      TKwvar "var" ../src/test_parser.nit:119,3--5
+                      TId "source" ../src/test_parser.nit:119,7--12
+                    AIfExpr ../src/test_parser.nit:120,3--126,5
+                      TKwif "if" ../src/test_parser.nit:120,3--4
+                      ACallExpr ../src/test_parser.nit:120,6--12
+                        AImplicitSelfExpr ../src/test_parser.nit:120,6
+                        TId "no_file" ../src/test_parser.nit:120,6--12
+                        AListExprs ../src/test_parser.nit:120,12
+                      ABlockExpr ../src/test_parser.nit:121,4--45
+                        ACallAssignExpr ../src/test_parser.nit:121,4--45
+                          AImplicitSelfExpr ../src/test_parser.nit:121,4
+                          TId "source" ../src/test_parser.nit:121,4--9
+                          AListExprs ../src/test_parser.nit:121,11
+                          TAssign "=" ../src/test_parser.nit:121,11
+                          ANewExpr ../src/test_parser.nit:121,13--45
+                            TKwnew "new" ../src/test_parser.nit:121,13--15
+                            AType ../src/test_parser.nit:121,17--26
+                              TClassid "SourceFile" ../src/test_parser.nit:121,17--26
+                            TId "from_string" ../src/test_parser.nit:121,28--38
+                            AParExprs ../src/test_parser.nit:121,39--45
+                              TOpar "(" ../src/test_parser.nit:121,39
+                              AStringExpr ../src/test_parser.nit:121,40--41
+                                TString "\"\"" ../src/test_parser.nit:121,40--41
+                              ACallExpr ../src/test_parser.nit:121,44
+                                AImplicitSelfExpr ../src/test_parser.nit:121,44
+                                TId "a" ../src/test_parser.nit:121,44
+                                AListExprs ../src/test_parser.nit:121,44
+                              TCpar ")" ../src/test_parser.nit:121,45
+                      ABlockExpr ../src/test_parser.nit:123,4--126,5
+                        AVardeclExpr ../src/test_parser.nit:123,4--31
+                          TKwvar "var" ../src/test_parser.nit:123,4--6
+                          TId "f" ../src/test_parser.nit:123,8
+                          TAssign "=" ../src/test_parser.nit:123,10
+                          ANewExpr ../src/test_parser.nit:123,12--31
+                            TKwnew "new" ../src/test_parser.nit:123,12--14
+                            AType ../src/test_parser.nit:123,16--23
+                              TClassid "IFStream" ../src/test_parser.nit:123,16--23
+                            TId "open" ../src/test_parser.nit:123,25--28
+                            AParExprs ../src/test_parser.nit:123,29--31
+                              TOpar "(" ../src/test_parser.nit:123,29
+                              ACallExpr ../src/test_parser.nit:123,30
+                                AImplicitSelfExpr ../src/test_parser.nit:123,30
+                                TId "a" ../src/test_parser.nit:123,30
+                                AListExprs ../src/test_parser.nit:123,30
+                              TCpar ")" ../src/test_parser.nit:123,31
+                        ACallAssignExpr ../src/test_parser.nit:124,4--32
+                          AImplicitSelfExpr ../src/test_parser.nit:124,4
+                          TId "source" ../src/test_parser.nit:124,4--9
+                          AListExprs ../src/test_parser.nit:124,11
+                          TAssign "=" ../src/test_parser.nit:124,11
+                          ANewExpr ../src/test_parser.nit:124,13--32
+                            TKwnew "new" ../src/test_parser.nit:124,13--15
+                            AType ../src/test_parser.nit:124,17--26
+                              TClassid "SourceFile" ../src/test_parser.nit:124,17--26
+                            AParExprs ../src/test_parser.nit:124,27--32
+                              TOpar "(" ../src/test_parser.nit:124,27
+                              ACallExpr ../src/test_parser.nit:124,28
+                                AImplicitSelfExpr ../src/test_parser.nit:124,28
+                                TId "a" ../src/test_parser.nit:124,28
+                                AListExprs ../src/test_parser.nit:124,28
+                              ACallExpr ../src/test_parser.nit:124,31
+                                AImplicitSelfExpr ../src/test_parser.nit:124,31
+                                TId "f" ../src/test_parser.nit:124,31
+                                AListExprs ../src/test_parser.nit:124,31
+                              TCpar ")" ../src/test_parser.nit:124,32
+                        ACallExpr ../src/test_parser.nit:125,4--10
+                          ACallExpr ../src/test_parser.nit:125,4
+                            AImplicitSelfExpr ../src/test_parser.nit:125,4
+                            TId "f" ../src/test_parser.nit:125,4
+                            AListExprs ../src/test_parser.nit:125,4
+                          TId "close" ../src/test_parser.nit:125,6--10
+                          AListExprs ../src/test_parser.nit:125,10
+                        TKwend "end" ../src/test_parser.nit:126,3--5
+                    AVardeclExpr ../src/test_parser.nit:127,3--31
+                      TKwvar "var" ../src/test_parser.nit:127,3--5
+                      TId "lexer" ../src/test_parser.nit:127,7--11
+                      TAssign "=" ../src/test_parser.nit:127,13
+                      ANewExpr ../src/test_parser.nit:127,15--31
+                        TKwnew "new" ../src/test_parser.nit:127,15--17
+                        AType ../src/test_parser.nit:127,19--23
+                          TClassid "Lexer" ../src/test_parser.nit:127,19--23
+                        AParExprs ../src/test_parser.nit:127,24--31
+                          TOpar "(" ../src/test_parser.nit:127,24
+                          ACallExpr ../src/test_parser.nit:127,25--30
+                            AImplicitSelfExpr ../src/test_parser.nit:127,25
+                            TId "source" ../src/test_parser.nit:127,25--30
+                            AListExprs ../src/test_parser.nit:127,30
+                          TCpar ")" ../src/test_parser.nit:127,31
+                    AIfExpr ../src/test_parser.nit:128,3--149,5
+                      TKwif "if" ../src/test_parser.nit:128,3--4
+                      ACallExpr ../src/test_parser.nit:128,6--15
+                        AImplicitSelfExpr ../src/test_parser.nit:128,6
+                        TId "only_lexer" ../src/test_parser.nit:128,6--15
+                        AListExprs ../src/test_parser.nit:128,15
+                      ABlockExpr ../src/test_parser.nit:129,4--135,6
+                        AVardeclExpr ../src/test_parser.nit:129,4--25
+                          TKwvar "var" ../src/test_parser.nit:129,4--6
+                          TId "token" ../src/test_parser.nit:129,8--12
+                          TAssign "=" ../src/test_parser.nit:129,14
+                          ACallExpr ../src/test_parser.nit:129,16--25
+                            ACallExpr ../src/test_parser.nit:129,16--20
+                              AImplicitSelfExpr ../src/test_parser.nit:129,16
+                              TId "lexer" ../src/test_parser.nit:129,16--20
+                              AListExprs ../src/test_parser.nit:129,20
+                            TId "next" ../src/test_parser.nit:129,22--25
+                            AListExprs ../src/test_parser.nit:129,25
+                        AWhileExpr ../src/test_parser.nit:130,4--135,6
+                          TKwwhile "while" ../src/test_parser.nit:130,4--8
+                          ANotExpr ../src/test_parser.nit:130,10--26
+                            TKwnot "not" ../src/test_parser.nit:130,10--12
+                            AIsaExpr ../src/test_parser.nit:130,14--26
+                              ACallExpr ../src/test_parser.nit:130,14--18
+                                AImplicitSelfExpr ../src/test_parser.nit:130,14
+                                TId "token" ../src/test_parser.nit:130,14--18
+                                AListExprs ../src/test_parser.nit:130,18
+                              AType ../src/test_parser.nit:130,24--26
+                                TClassid "EOF" ../src/test_parser.nit:130,24--26
+                          TKwdo "do" ../src/test_parser.nit:130,28--29
+                          ABlockExpr ../src/test_parser.nit:131,5--135,6
+                            AIfExpr ../src/test_parser.nit:131,5--133,7
+                              TKwif "if" ../src/test_parser.nit:131,5--6
+                              ANotExpr ../src/test_parser.nit:131,8--19
+                                TKwnot "not" ../src/test_parser.nit:131,8--10
+                                ACallExpr ../src/test_parser.nit:131,12--19
+                                  AImplicitSelfExpr ../src/test_parser.nit:131,12
+                                  TId "no_print" ../src/test_parser.nit:131,12--19
+                                  AListExprs ../src/test_parser.nit:131,19
+                              ABlockExpr ../src/test_parser.nit:132,6--64
+                                ACallExpr ../src/test_parser.nit:132,6--64
+                                  AImplicitSelfExpr ../src/test_parser.nit:132,6
+                                  TId "print" ../src/test_parser.nit:132,6--10
+                                  AParExprs ../src/test_parser.nit:132,11--64
+                                    TOpar "(" ../src/test_parser.nit:132,11
+                                    ASuperstringExpr ../src/test_parser.nit:132,12--63
+                                      AStartStringExpr ../src/test_parser.nit:132,12--27
+                                        TStartString "\"Read token at {" ../src/test_parser.nit:132,12--27
+                                      ACallExpr ../src/test_parser.nit:132,28--41
+                                        ACallExpr ../src/test_parser.nit:132,28--32
+                                          AImplicitSelfExpr ../src/test_parser.nit:132,28
+                                          TId "token" ../src/test_parser.nit:132,28--32
+                                          AListExprs ../src/test_parser.nit:132,32
+                                        TId "location" ../src/test_parser.nit:132,34--41
+                                        AListExprs ../src/test_parser.nit:132,41
+                                      AMidStringExpr ../src/test_parser.nit:132,42--50
+                                        TMidString "} text=\'{" ../src/test_parser.nit:132,42--50
+                                      ACallExpr ../src/test_parser.nit:132,51--60
+                                        ACallExpr ../src/test_parser.nit:132,51--55
+                                          AImplicitSelfExpr ../src/test_parser.nit:132,51
+                                          TId "token" ../src/test_parser.nit:132,51--55
+                                          AListExprs ../src/test_parser.nit:132,55
+                                        TId "text" ../src/test_parser.nit:132,57--60
+                                        AListExprs ../src/test_parser.nit:132,60
+                                      AEndStringExpr ../src/test_parser.nit:132,61--63
+                                        TEndString "}\'\"" ../src/test_parser.nit:132,61--63
+                                    TCpar ")" ../src/test_parser.nit:132,64
+                              ABlockExpr ../src/test_parser.nit:133,5--7
+                                TKwend "end" ../src/test_parser.nit:133,5--7
+                            ACallAssignExpr ../src/test_parser.nit:134,5--22
+                              AImplicitSelfExpr ../src/test_parser.nit:134,5
+                              TId "token" ../src/test_parser.nit:134,5--9
+                              AListExprs ../src/test_parser.nit:134,11
+                              TAssign "=" ../src/test_parser.nit:134,11
+                              ACallExpr ../src/test_parser.nit:134,13--22
+                                ACallExpr ../src/test_parser.nit:134,13--17
+                                  AImplicitSelfExpr ../src/test_parser.nit:134,13
+                                  TId "lexer" ../src/test_parser.nit:134,13--17
+                                  AListExprs ../src/test_parser.nit:134,17
+                                TId "next" ../src/test_parser.nit:134,19--22
+                                AListExprs ../src/test_parser.nit:134,22
+                            TKwend "end" ../src/test_parser.nit:135,4--6
+                      ABlockExpr ../src/test_parser.nit:137,4--149,5
+                        AVardeclExpr ../src/test_parser.nit:137,4--33
+                          TKwvar "var" ../src/test_parser.nit:137,4--6
+                          TId "parser" ../src/test_parser.nit:137,8--13
+                          TAssign "=" ../src/test_parser.nit:137,15
+                          ANewExpr ../src/test_parser.nit:137,17--33
+                            TKwnew "new" ../src/test_parser.nit:137,17--19
+                            AType ../src/test_parser.nit:137,21--26
+                              TClassid "Parser" ../src/test_parser.nit:137,21--26
+                            AParExprs ../src/test_parser.nit:137,27--33
+                              TOpar "(" ../src/test_parser.nit:137,27
+                              ACallExpr ../src/test_parser.nit:137,28--32
+                                AImplicitSelfExpr ../src/test_parser.nit:137,28
+                                TId "lexer" ../src/test_parser.nit:137,28--32
+                                AListExprs ../src/test_parser.nit:137,32
+                              TCpar ")" ../src/test_parser.nit:137,33
+                        AVardeclExpr ../src/test_parser.nit:138,4--26
+                          TKwvar "var" ../src/test_parser.nit:138,4--6
+                          TId "tree" ../src/test_parser.nit:138,8--11
+                          TAssign "=" ../src/test_parser.nit:138,13
+                          ACallExpr ../src/test_parser.nit:138,15--26
+                            ACallExpr ../src/test_parser.nit:138,15--20
+                              AImplicitSelfExpr ../src/test_parser.nit:138,15
+                              TId "parser" ../src/test_parser.nit:138,15--20
+                              AListExprs ../src/test_parser.nit:138,20
+                            TId "parse" ../src/test_parser.nit:138,22--26
+                            AListExprs ../src/test_parser.nit:138,26
+                        AVardeclExpr ../src/test_parser.nit:140,4--25
+                          TKwvar "var" ../src/test_parser.nit:140,4--6
+                          TId "error" ../src/test_parser.nit:140,8--12
+                          TAssign "=" ../src/test_parser.nit:140,14
+                          ACallExpr ../src/test_parser.nit:140,16--25
+                            ACallExpr ../src/test_parser.nit:140,16--19
+                              AImplicitSelfExpr ../src/test_parser.nit:140,16
+                              TId "tree" ../src/test_parser.nit:140,16--19
+                              AListExprs ../src/test_parser.nit:140,19
+                            TId "n_eof" ../src/test_parser.nit:140,21--25
+                            AListExprs ../src/test_parser.nit:140,25
+                        AIfExpr ../src/test_parser.nit:141,4--144,6
+                          TKwif "if" ../src/test_parser.nit:141,4--5
+                          AIsaExpr ../src/test_parser.nit:141,7--22
+                            ACallExpr ../src/test_parser.nit:141,7--11
+                              AImplicitSelfExpr ../src/test_parser.nit:141,7
+                              TId "error" ../src/test_parser.nit:141,7--11
+                              AListExprs ../src/test_parser.nit:141,11
+                            AType ../src/test_parser.nit:141,17--22
+                              TClassid "AError" ../src/test_parser.nit:141,17--22
+                          ABlockExpr ../src/test_parser.nit:142,5--143,10
+                            ACallExpr ../src/test_parser.nit:142,5--58
+                              AImplicitSelfExpr ../src/test_parser.nit:142,5
+                              TId "print" ../src/test_parser.nit:142,5--9
+                              AParExprs ../src/test_parser.nit:142,10--58
+                                TOpar "(" ../src/test_parser.nit:142,10
+                                ASuperstringExpr ../src/test_parser.nit:142,11--57
+                                  AStartStringExpr ../src/test_parser.nit:142,11--21
+                                    TStartString "\"Error at {" ../src/test_parser.nit:142,11--21
+                                  ACallExpr ../src/test_parser.nit:142,22--35
+                                    ACallExpr ../src/test_parser.nit:142,22--26
+                                      AImplicitSelfExpr ../src/test_parser.nit:142,22
+                                      TId "error" ../src/test_parser.nit:142,22--26
+                                      AListExprs ../src/test_parser.nit:142,26
+                                    TId "location" ../src/test_parser.nit:142,28--35
+                                    AListExprs ../src/test_parser.nit:142,35
+                                  AMidStringExpr ../src/test_parser.nit:142,36--42
+                                    TMidString "}:\\n\\t{" ../src/test_parser.nit:142,36--42
+                                  ACallExpr ../src/test_parser.nit:142,43--55
+                                    ACallExpr ../src/test_parser.nit:142,43--47
+                                      AImplicitSelfExpr ../src/test_parser.nit:142,43
+                                      TId "error" ../src/test_parser.nit:142,43--47
+                                      AListExprs ../src/test_parser.nit:142,47
+                                    TId "message" ../src/test_parser.nit:142,49--55
+                                    AListExprs ../src/test_parser.nit:142,55
+                                  AEndStringExpr ../src/test_parser.nit:142,56--57
+                                    TEndString "}\"" ../src/test_parser.nit:142,56--57
+                                TCpar ")" ../src/test_parser.nit:142,58
+                            AReturnExpr ../src/test_parser.nit:143,5--10
+                              TKwreturn "return" ../src/test_parser.nit:143,5--10
+                          ABlockExpr ../src/test_parser.nit:144,4--6
+                            TKwend "end" ../src/test_parser.nit:144,4--6
+                        AIfExpr ../src/test_parser.nit:146,4--148,6
+                          TKwif "if" ../src/test_parser.nit:146,4--5
+                          ANotExpr ../src/test_parser.nit:146,7--18
+                            TKwnot "not" ../src/test_parser.nit:146,7--9
+                            ACallExpr ../src/test_parser.nit:146,11--18
+                              AImplicitSelfExpr ../src/test_parser.nit:146,11
+                              TId "no_print" ../src/test_parser.nit:146,11--18
+                              AListExprs ../src/test_parser.nit:146,18
+                          ABlockExpr ../src/test_parser.nit:147,5--44
+                            ACallExpr ../src/test_parser.nit:147,5--44
+                              AParExpr ../src/test_parser.nit:147,5--26
+                                TOpar "(" ../src/test_parser.nit:147,5
+                                ANewExpr ../src/test_parser.nit:147,6--25
+                                  TKwnew "new" ../src/test_parser.nit:147,6--8
+                                  AType ../src/test_parser.nit:147,10--25
+                                    TClassid "PrintTreeVisitor" ../src/test_parser.nit:147,10--25
+                                  AListExprs ../src/test_parser.nit:147,25
+                                TCpar ")" ../src/test_parser.nit:147,26
+                              TId "enter_visit" ../src/test_parser.nit:147,28--38
+                              AParExprs ../src/test_parser.nit:147,39--44
+                                TOpar "(" ../src/test_parser.nit:147,39
+                                ACallExpr ../src/test_parser.nit:147,40--43
+                                  AImplicitSelfExpr ../src/test_parser.nit:147,40
+                                  TId "tree" ../src/test_parser.nit:147,40--43
+                                  AListExprs ../src/test_parser.nit:147,43
+                                TCpar ")" ../src/test_parser.nit:147,44
+                          ABlockExpr ../src/test_parser.nit:148,4--6
+                            TKwend "end" ../src/test_parser.nit:148,4--6
+                        TKwend "end" ../src/test_parser.nit:149,3--5
+                    TKwend "end" ../src/test_parser.nit:150,2--4
+                TKwend "end" ../src/test_parser.nit:151,1--3
+  EOF "" ../src/test_parser.nit:152,1
index 51b59ee..ceb4e1d 100644 (file)
@@ -42,213 +42,208 @@ Read token at ../src/test_parser.nit:20,1--6 text='import'
 Read token at ../src/test_parser.nit:20,8--13 text='parser'
 Read token at ../src/test_parser.nit:20,14--21,0 text='
 '
-Read token at ../src/test_parser.nit:21,1--22,0 text='
-'
-Read token at ../src/test_parser.nit:22,1--5 text='class'
-Read token at ../src/test_parser.nit:22,7--22 text='PrintTreeVisitor'
-Read token at ../src/test_parser.nit:22,23--23,0 text='
-'
-Read token at ../src/test_parser.nit:23,2--6 text='super'
-Read token at ../src/test_parser.nit:23,8--14 text='Visitor'
-Read token at ../src/test_parser.nit:23,15--24,0 text='
-'
-Read token at ../src/test_parser.nit:24,2--8 text='private'
-Read token at ../src/test_parser.nit:24,10--12 text='var'
-Read token at ../src/test_parser.nit:24,14--17 text='rank'
-Read token at ../src/test_parser.nit:24,18 text=':'
-Read token at ../src/test_parser.nit:24,20--22 text='Int'
-Read token at ../src/test_parser.nit:24,23--25,0 text='
-'
-Read token at ../src/test_parser.nit:25,2--6 text='redef'
-Read token at ../src/test_parser.nit:25,8--10 text='fun'
-Read token at ../src/test_parser.nit:25,12--16 text='visit'
-Read token at ../src/test_parser.nit:25,17 text='('
-Read token at ../src/test_parser.nit:25,18 text='n'
-Read token at ../src/test_parser.nit:25,19 text=')'
-Read token at ../src/test_parser.nit:25,20--26,0 text='
-'
-Read token at ../src/test_parser.nit:26,2--3 text='do'
-Read token at ../src/test_parser.nit:26,4--27,0 text='
-'
-Read token at ../src/test_parser.nit:27,3--4 text='if'
-Read token at ../src/test_parser.nit:27,6 text='n'
-Read token at ../src/test_parser.nit:27,8--10 text='isa'
-Read token at ../src/test_parser.nit:27,12--16 text='Token'
-Read token at ../src/test_parser.nit:27,18--21 text='then'
-Read token at ../src/test_parser.nit:27,22--28,0 text='
-'
-Read token at ../src/test_parser.nit:28,4--9 text='printn'
-Read token at ../src/test_parser.nit:28,10 text='('
-Read token at ../src/test_parser.nit:28,11--14 text='"  "'
-Read token at ../src/test_parser.nit:28,16 text='*'
-Read token at ../src/test_parser.nit:28,18--21 text='rank'
-Read token at ../src/test_parser.nit:28,22 text=','
-Read token at ../src/test_parser.nit:28,24 text='n'
-Read token at ../src/test_parser.nit:28,25 text='.'
-Read token at ../src/test_parser.nit:28,26--35 text='class_name'
-Read token at ../src/test_parser.nit:28,36 text=','
-Read token at ../src/test_parser.nit:28,38--42 text='" \""'
-Read token at ../src/test_parser.nit:28,43 text=','
-Read token at ../src/test_parser.nit:28,45 text='n'
-Read token at ../src/test_parser.nit:28,46 text='.'
-Read token at ../src/test_parser.nit:28,47--50 text='text'
-Read token at ../src/test_parser.nit:28,51 text='.'
-Read token at ../src/test_parser.nit:28,52--62 text='escape_to_c'
-Read token at ../src/test_parser.nit:28,63 text=','
-Read token at ../src/test_parser.nit:28,65--69 text='"\" "'
-Read token at ../src/test_parser.nit:28,70 text=','
-Read token at ../src/test_parser.nit:28,72 text='n'
-Read token at ../src/test_parser.nit:28,73 text='.'
-Read token at ../src/test_parser.nit:28,74--81 text='location'
-Read token at ../src/test_parser.nit:28,82 text=','
-Read token at ../src/test_parser.nit:28,84--87 text='"\n"'
-Read token at ../src/test_parser.nit:28,88 text=')'
-Read token at ../src/test_parser.nit:28,89--29,0 text='
-'
-Read token at ../src/test_parser.nit:29,3--6 text='else'
-Read token at ../src/test_parser.nit:29,7--30,0 text='
-'
-Read token at ../src/test_parser.nit:30,4--9 text='printn'
-Read token at ../src/test_parser.nit:30,10 text='('
-Read token at ../src/test_parser.nit:30,11--14 text='"  "'
-Read token at ../src/test_parser.nit:30,16 text='*'
-Read token at ../src/test_parser.nit:30,18--21 text='rank'
-Read token at ../src/test_parser.nit:30,22 text=','
-Read token at ../src/test_parser.nit:30,24 text='n'
-Read token at ../src/test_parser.nit:30,25 text='.'
-Read token at ../src/test_parser.nit:30,26--35 text='class_name'
-Read token at ../src/test_parser.nit:30,36 text=','
-Read token at ../src/test_parser.nit:30,38--40 text='" "'
-Read token at ../src/test_parser.nit:30,41 text=','
-Read token at ../src/test_parser.nit:30,43 text='n'
-Read token at ../src/test_parser.nit:30,44 text='.'
-Read token at ../src/test_parser.nit:30,45--52 text='location'
-Read token at ../src/test_parser.nit:30,53 text=','
-Read token at ../src/test_parser.nit:30,55--58 text='"\n"'
-Read token at ../src/test_parser.nit:30,59 text=')'
-Read token at ../src/test_parser.nit:30,60--31,0 text='
-'
-Read token at ../src/test_parser.nit:31,3--5 text='end'
-Read token at ../src/test_parser.nit:31,6--32,0 text='
-'
-Read token at ../src/test_parser.nit:32,3--6 text='rank'
-Read token at ../src/test_parser.nit:32,8 text='='
-Read token at ../src/test_parser.nit:32,10--13 text='rank'
-Read token at ../src/test_parser.nit:32,15 text='+'
-Read token at ../src/test_parser.nit:32,17 text='1'
-Read token at ../src/test_parser.nit:32,18--33,0 text='
-'
-Read token at ../src/test_parser.nit:33,3 text='n'
-Read token at ../src/test_parser.nit:33,4 text='.'
-Read token at ../src/test_parser.nit:33,5--13 text='visit_all'
-Read token at ../src/test_parser.nit:33,14 text='('
-Read token at ../src/test_parser.nit:33,15--18 text='self'
-Read token at ../src/test_parser.nit:33,19 text=')'
-Read token at ../src/test_parser.nit:33,20--34,0 text='
-'
-Read token at ../src/test_parser.nit:34,3--6 text='rank'
-Read token at ../src/test_parser.nit:34,8 text='='
-Read token at ../src/test_parser.nit:34,10--13 text='rank'
-Read token at ../src/test_parser.nit:34,15 text='-'
-Read token at ../src/test_parser.nit:34,17 text='1'
-Read token at ../src/test_parser.nit:34,18--35,0 text='
-'
-Read token at ../src/test_parser.nit:35,2--4 text='end'
-Read token at ../src/test_parser.nit:35,5--36,0 text='
-'
-Read token at ../src/test_parser.nit:36,1--37,0 text='
-'
-Read token at ../src/test_parser.nit:37,2--5 text='init'
-Read token at ../src/test_parser.nit:37,6--38,0 text='
-'
-Read token at ../src/test_parser.nit:38,2--3 text='do'
-Read token at ../src/test_parser.nit:38,4--39,0 text='
-'
-Read token at ../src/test_parser.nit:39,3--6 text='rank'
-Read token at ../src/test_parser.nit:39,8 text='='
-Read token at ../src/test_parser.nit:39,10 text='0'
-Read token at ../src/test_parser.nit:39,11--40,0 text='
-'
-Read token at ../src/test_parser.nit:40,2--4 text='end'
-Read token at ../src/test_parser.nit:40,5--41,0 text='
-'
-Read token at ../src/test_parser.nit:41,1--3 text='end'
-Read token at ../src/test_parser.nit:41,4--42,0 text='
-'
-Read token at ../src/test_parser.nit:42,1--43,0 text='
-'
-Read token at ../src/test_parser.nit:43,1--3 text='var'
-Read token at ../src/test_parser.nit:43,5--12 text='no_print'
-Read token at ../src/test_parser.nit:43,14 text='='
-Read token at ../src/test_parser.nit:43,16--20 text='false'
-Read token at ../src/test_parser.nit:43,21--44,0 text='
+Read token at ../src/test_parser.nit:21,1--6 text='import'
+Read token at ../src/test_parser.nit:21,8--18 text='parser_util'
+Read token at ../src/test_parser.nit:21,19--22,0 text='
+'
+Read token at ../src/test_parser.nit:22,1--23,0 text='
+'
+Read token at ../src/test_parser.nit:23,1--5 text='class'
+Read token at ../src/test_parser.nit:23,7--22 text='PrintTreeVisitor'
+Read token at ../src/test_parser.nit:23,23--24,0 text='
+'
+Read token at ../src/test_parser.nit:24,2--6 text='super'
+Read token at ../src/test_parser.nit:24,8--14 text='Visitor'
+Read token at ../src/test_parser.nit:24,15--25,0 text='
+'
+Read token at ../src/test_parser.nit:25,2--8 text='private'
+Read token at ../src/test_parser.nit:25,10--12 text='var'
+Read token at ../src/test_parser.nit:25,14--17 text='rank'
+Read token at ../src/test_parser.nit:25,18 text=':'
+Read token at ../src/test_parser.nit:25,20--22 text='Int'
+Read token at ../src/test_parser.nit:25,23--26,0 text='
+'
+Read token at ../src/test_parser.nit:26,2--6 text='redef'
+Read token at ../src/test_parser.nit:26,8--10 text='fun'
+Read token at ../src/test_parser.nit:26,12--16 text='visit'
+Read token at ../src/test_parser.nit:26,17 text='('
+Read token at ../src/test_parser.nit:26,18 text='n'
+Read token at ../src/test_parser.nit:26,19 text=')'
+Read token at ../src/test_parser.nit:26,20--27,0 text='
+'
+Read token at ../src/test_parser.nit:27,2--3 text='do'
+Read token at ../src/test_parser.nit:27,4--28,0 text='
+'
+Read token at ../src/test_parser.nit:28,3--4 text='if'
+Read token at ../src/test_parser.nit:28,6 text='n'
+Read token at ../src/test_parser.nit:28,8--10 text='isa'
+Read token at ../src/test_parser.nit:28,12--16 text='Token'
+Read token at ../src/test_parser.nit:28,18--21 text='then'
+Read token at ../src/test_parser.nit:28,22--29,0 text='
+'
+Read token at ../src/test_parser.nit:29,4--9 text='printn'
+Read token at ../src/test_parser.nit:29,10 text='('
+Read token at ../src/test_parser.nit:29,11--14 text='"  "'
+Read token at ../src/test_parser.nit:29,16 text='*'
+Read token at ../src/test_parser.nit:29,18--21 text='rank'
+Read token at ../src/test_parser.nit:29,22 text=','
+Read token at ../src/test_parser.nit:29,24 text='n'
+Read token at ../src/test_parser.nit:29,25 text='.'
+Read token at ../src/test_parser.nit:29,26--35 text='class_name'
+Read token at ../src/test_parser.nit:29,36 text=','
+Read token at ../src/test_parser.nit:29,38--42 text='" \""'
+Read token at ../src/test_parser.nit:29,43 text=','
+Read token at ../src/test_parser.nit:29,45 text='n'
+Read token at ../src/test_parser.nit:29,46 text='.'
+Read token at ../src/test_parser.nit:29,47--50 text='text'
+Read token at ../src/test_parser.nit:29,51 text='.'
+Read token at ../src/test_parser.nit:29,52--62 text='escape_to_c'
+Read token at ../src/test_parser.nit:29,63 text=','
+Read token at ../src/test_parser.nit:29,65--69 text='"\" "'
+Read token at ../src/test_parser.nit:29,70 text=','
+Read token at ../src/test_parser.nit:29,72 text='n'
+Read token at ../src/test_parser.nit:29,73 text='.'
+Read token at ../src/test_parser.nit:29,74--81 text='location'
+Read token at ../src/test_parser.nit:29,82 text=','
+Read token at ../src/test_parser.nit:29,84--87 text='"\n"'
+Read token at ../src/test_parser.nit:29,88 text=')'
+Read token at ../src/test_parser.nit:29,89--30,0 text='
+'
+Read token at ../src/test_parser.nit:30,3--6 text='else'
+Read token at ../src/test_parser.nit:30,7--31,0 text='
+'
+Read token at ../src/test_parser.nit:31,4--9 text='printn'
+Read token at ../src/test_parser.nit:31,10 text='('
+Read token at ../src/test_parser.nit:31,11--14 text='"  "'
+Read token at ../src/test_parser.nit:31,16 text='*'
+Read token at ../src/test_parser.nit:31,18--21 text='rank'
+Read token at ../src/test_parser.nit:31,22 text=','
+Read token at ../src/test_parser.nit:31,24 text='n'
+Read token at ../src/test_parser.nit:31,25 text='.'
+Read token at ../src/test_parser.nit:31,26--35 text='class_name'
+Read token at ../src/test_parser.nit:31,36 text=','
+Read token at ../src/test_parser.nit:31,38--40 text='" "'
+Read token at ../src/test_parser.nit:31,41 text=','
+Read token at ../src/test_parser.nit:31,43 text='n'
+Read token at ../src/test_parser.nit:31,44 text='.'
+Read token at ../src/test_parser.nit:31,45--52 text='location'
+Read token at ../src/test_parser.nit:31,53 text=','
+Read token at ../src/test_parser.nit:31,55--58 text='"\n"'
+Read token at ../src/test_parser.nit:31,59 text=')'
+Read token at ../src/test_parser.nit:31,60--32,0 text='
+'
+Read token at ../src/test_parser.nit:32,3--5 text='end'
+Read token at ../src/test_parser.nit:32,6--33,0 text='
+'
+Read token at ../src/test_parser.nit:33,3--6 text='rank'
+Read token at ../src/test_parser.nit:33,8 text='='
+Read token at ../src/test_parser.nit:33,10--13 text='rank'
+Read token at ../src/test_parser.nit:33,15 text='+'
+Read token at ../src/test_parser.nit:33,17 text='1'
+Read token at ../src/test_parser.nit:33,18--34,0 text='
+'
+Read token at ../src/test_parser.nit:34,3 text='n'
+Read token at ../src/test_parser.nit:34,4 text='.'
+Read token at ../src/test_parser.nit:34,5--13 text='visit_all'
+Read token at ../src/test_parser.nit:34,14 text='('
+Read token at ../src/test_parser.nit:34,15--18 text='self'
+Read token at ../src/test_parser.nit:34,19 text=')'
+Read token at ../src/test_parser.nit:34,20--35,0 text='
+'
+Read token at ../src/test_parser.nit:35,3--6 text='rank'
+Read token at ../src/test_parser.nit:35,8 text='='
+Read token at ../src/test_parser.nit:35,10--13 text='rank'
+Read token at ../src/test_parser.nit:35,15 text='-'
+Read token at ../src/test_parser.nit:35,17 text='1'
+Read token at ../src/test_parser.nit:35,18--36,0 text='
+'
+Read token at ../src/test_parser.nit:36,2--4 text='end'
+Read token at ../src/test_parser.nit:36,5--37,0 text='
+'
+Read token at ../src/test_parser.nit:37,1--38,0 text='
+'
+Read token at ../src/test_parser.nit:38,2--5 text='init'
+Read token at ../src/test_parser.nit:38,6--39,0 text='
+'
+Read token at ../src/test_parser.nit:39,2--3 text='do'
+Read token at ../src/test_parser.nit:39,4--40,0 text='
+'
+Read token at ../src/test_parser.nit:40,3--6 text='rank'
+Read token at ../src/test_parser.nit:40,8 text='='
+Read token at ../src/test_parser.nit:40,10 text='0'
+Read token at ../src/test_parser.nit:40,11--41,0 text='
+'
+Read token at ../src/test_parser.nit:41,2--4 text='end'
+Read token at ../src/test_parser.nit:41,5--42,0 text='
+'
+Read token at ../src/test_parser.nit:42,1--3 text='end'
+Read token at ../src/test_parser.nit:42,4--43,0 text='
+'
+Read token at ../src/test_parser.nit:43,1--44,0 text='
 '
 Read token at ../src/test_parser.nit:44,1--3 text='var'
-Read token at ../src/test_parser.nit:44,5--14 text='only_lexer'
-Read token at ../src/test_parser.nit:44,16 text='='
-Read token at ../src/test_parser.nit:44,18--22 text='false'
-Read token at ../src/test_parser.nit:44,23--45,0 text='
+Read token at ../src/test_parser.nit:44,5--12 text='no_print'
+Read token at ../src/test_parser.nit:44,14 text='='
+Read token at ../src/test_parser.nit:44,16--20 text='false'
+Read token at ../src/test_parser.nit:44,21--45,0 text='
 '
 Read token at ../src/test_parser.nit:45,1--3 text='var'
-Read token at ../src/test_parser.nit:45,5--13 text='need_help'
-Read token at ../src/test_parser.nit:45,15 text='='
-Read token at ../src/test_parser.nit:45,17--21 text='false'
-Read token at ../src/test_parser.nit:45,22--46,0 text='
+Read token at ../src/test_parser.nit:45,5--14 text='only_lexer'
+Read token at ../src/test_parser.nit:45,16 text='='
+Read token at ../src/test_parser.nit:45,18--22 text='false'
+Read token at ../src/test_parser.nit:45,23--46,0 text='
 '
 Read token at ../src/test_parser.nit:46,1--3 text='var'
-Read token at ../src/test_parser.nit:46,5--11 text='no_file'
-Read token at ../src/test_parser.nit:46,13 text='='
-Read token at ../src/test_parser.nit:46,15--19 text='false'
-Read token at ../src/test_parser.nit:46,20--47,0 text='
-'
-Read token at ../src/test_parser.nit:47,1--48,0 text='
-'
-Read token at ../src/test_parser.nit:48,1--5 text='while'
-Read token at ../src/test_parser.nit:48,7--9 text='not'
-Read token at ../src/test_parser.nit:48,11--14 text='args'
-Read token at ../src/test_parser.nit:48,15 text='.'
-Read token at ../src/test_parser.nit:48,16--23 text='is_empty'
-Read token at ../src/test_parser.nit:48,25--27 text='and'
-Read token at ../src/test_parser.nit:48,29--32 text='args'
-Read token at ../src/test_parser.nit:48,33 text='.'
-Read token at ../src/test_parser.nit:48,34--38 text='first'
-Read token at ../src/test_parser.nit:48,39 text='.'
-Read token at ../src/test_parser.nit:48,40--44 text='chars'
-Read token at ../src/test_parser.nit:48,45 text='.'
-Read token at ../src/test_parser.nit:48,46--50 text='first'
-Read token at ../src/test_parser.nit:48,52--53 text='=='
-Read token at ../src/test_parser.nit:48,55--57 text=''-''
-Read token at ../src/test_parser.nit:48,59--60 text='do'
-Read token at ../src/test_parser.nit:48,61--49,0 text='
-'
-Read token at ../src/test_parser.nit:49,2--3 text='if'
-Read token at ../src/test_parser.nit:49,5--8 text='args'
-Read token at ../src/test_parser.nit:49,9 text='.'
-Read token at ../src/test_parser.nit:49,10--14 text='first'
-Read token at ../src/test_parser.nit:49,16--17 text='=='
-Read token at ../src/test_parser.nit:49,19--22 text='"-n"'
-Read token at ../src/test_parser.nit:49,24--27 text='then'
-Read token at ../src/test_parser.nit:49,28--50,0 text='
-'
-Read token at ../src/test_parser.nit:50,3--10 text='no_print'
-Read token at ../src/test_parser.nit:50,12 text='='
-Read token at ../src/test_parser.nit:50,14--17 text='true'
-Read token at ../src/test_parser.nit:50,18--51,0 text='
-'
-Read token at ../src/test_parser.nit:51,2--5 text='else'
-Read token at ../src/test_parser.nit:51,7--8 text='if'
-Read token at ../src/test_parser.nit:51,10--13 text='args'
-Read token at ../src/test_parser.nit:51,14 text='.'
-Read token at ../src/test_parser.nit:51,15--19 text='first'
-Read token at ../src/test_parser.nit:51,21--22 text='=='
-Read token at ../src/test_parser.nit:51,24--27 text='"-l"'
-Read token at ../src/test_parser.nit:51,29--32 text='then'
-Read token at ../src/test_parser.nit:51,33--52,0 text='
-'
-Read token at ../src/test_parser.nit:52,3--12 text='only_lexer'
-Read token at ../src/test_parser.nit:52,14 text='='
-Read token at ../src/test_parser.nit:52,16--19 text='true'
-Read token at ../src/test_parser.nit:52,20--53,0 text='
+Read token at ../src/test_parser.nit:46,5--13 text='need_help'
+Read token at ../src/test_parser.nit:46,15 text='='
+Read token at ../src/test_parser.nit:46,17--21 text='false'
+Read token at ../src/test_parser.nit:46,22--47,0 text='
+'
+Read token at ../src/test_parser.nit:47,1--3 text='var'
+Read token at ../src/test_parser.nit:47,5--11 text='no_file'
+Read token at ../src/test_parser.nit:47,13 text='='
+Read token at ../src/test_parser.nit:47,15--19 text='false'
+Read token at ../src/test_parser.nit:47,20--48,0 text='
+'
+Read token at ../src/test_parser.nit:48,1--3 text='var'
+Read token at ../src/test_parser.nit:48,5--15 text='interactive'
+Read token at ../src/test_parser.nit:48,17 text='='
+Read token at ../src/test_parser.nit:48,19--23 text='false'
+Read token at ../src/test_parser.nit:48,24--49,0 text='
+'
+Read token at ../src/test_parser.nit:49,1--50,0 text='
+'
+Read token at ../src/test_parser.nit:50,1--5 text='while'
+Read token at ../src/test_parser.nit:50,7--9 text='not'
+Read token at ../src/test_parser.nit:50,11--14 text='args'
+Read token at ../src/test_parser.nit:50,15 text='.'
+Read token at ../src/test_parser.nit:50,16--23 text='is_empty'
+Read token at ../src/test_parser.nit:50,25--27 text='and'
+Read token at ../src/test_parser.nit:50,29--32 text='args'
+Read token at ../src/test_parser.nit:50,33 text='.'
+Read token at ../src/test_parser.nit:50,34--38 text='first'
+Read token at ../src/test_parser.nit:50,39 text='.'
+Read token at ../src/test_parser.nit:50,40--44 text='chars'
+Read token at ../src/test_parser.nit:50,45 text='.'
+Read token at ../src/test_parser.nit:50,46--50 text='first'
+Read token at ../src/test_parser.nit:50,52--53 text='=='
+Read token at ../src/test_parser.nit:50,55--57 text=''-''
+Read token at ../src/test_parser.nit:50,59--60 text='do'
+Read token at ../src/test_parser.nit:50,61--51,0 text='
+'
+Read token at ../src/test_parser.nit:51,2--3 text='if'
+Read token at ../src/test_parser.nit:51,5--8 text='args'
+Read token at ../src/test_parser.nit:51,9 text='.'
+Read token at ../src/test_parser.nit:51,10--14 text='first'
+Read token at ../src/test_parser.nit:51,16--17 text='=='
+Read token at ../src/test_parser.nit:51,19--22 text='"-n"'
+Read token at ../src/test_parser.nit:51,24--27 text='then'
+Read token at ../src/test_parser.nit:51,28--52,0 text='
+'
+Read token at ../src/test_parser.nit:52,3--10 text='no_print'
+Read token at ../src/test_parser.nit:52,12 text='='
+Read token at ../src/test_parser.nit:52,14--17 text='true'
+Read token at ../src/test_parser.nit:52,18--53,0 text='
 '
 Read token at ../src/test_parser.nit:53,2--5 text='else'
 Read token at ../src/test_parser.nit:53,7--8 text='if'
@@ -256,14 +251,14 @@ Read token at ../src/test_parser.nit:53,10--13 text='args'
 Read token at ../src/test_parser.nit:53,14 text='.'
 Read token at ../src/test_parser.nit:53,15--19 text='first'
 Read token at ../src/test_parser.nit:53,21--22 text='=='
-Read token at ../src/test_parser.nit:53,24--27 text='"-p"'
+Read token at ../src/test_parser.nit:53,24--27 text='"-l"'
 Read token at ../src/test_parser.nit:53,29--32 text='then'
 Read token at ../src/test_parser.nit:53,33--54,0 text='
 '
 Read token at ../src/test_parser.nit:54,3--12 text='only_lexer'
 Read token at ../src/test_parser.nit:54,14 text='='
-Read token at ../src/test_parser.nit:54,16--20 text='false'
-Read token at ../src/test_parser.nit:54,21--55,0 text='
+Read token at ../src/test_parser.nit:54,16--19 text='true'
+Read token at ../src/test_parser.nit:54,20--55,0 text='
 '
 Read token at ../src/test_parser.nit:55,2--5 text='else'
 Read token at ../src/test_parser.nit:55,7--8 text='if'
@@ -271,14 +266,14 @@ Read token at ../src/test_parser.nit:55,10--13 text='args'
 Read token at ../src/test_parser.nit:55,14 text='.'
 Read token at ../src/test_parser.nit:55,15--19 text='first'
 Read token at ../src/test_parser.nit:55,21--22 text='=='
-Read token at ../src/test_parser.nit:55,24--27 text='"-e"'
+Read token at ../src/test_parser.nit:55,24--27 text='"-p"'
 Read token at ../src/test_parser.nit:55,29--32 text='then'
 Read token at ../src/test_parser.nit:55,33--56,0 text='
 '
-Read token at ../src/test_parser.nit:56,3--9 text='no_file'
-Read token at ../src/test_parser.nit:56,11 text='='
-Read token at ../src/test_parser.nit:56,13--16 text='true'
-Read token at ../src/test_parser.nit:56,17--57,0 text='
+Read token at ../src/test_parser.nit:56,3--12 text='only_lexer'
+Read token at ../src/test_parser.nit:56,14 text='='
+Read token at ../src/test_parser.nit:56,16--20 text='false'
+Read token at ../src/test_parser.nit:56,21--57,0 text='
 '
 Read token at ../src/test_parser.nit:57,2--5 text='else'
 Read token at ../src/test_parser.nit:57,7--8 text='if'
@@ -286,328 +281,557 @@ Read token at ../src/test_parser.nit:57,10--13 text='args'
 Read token at ../src/test_parser.nit:57,14 text='.'
 Read token at ../src/test_parser.nit:57,15--19 text='first'
 Read token at ../src/test_parser.nit:57,21--22 text='=='
-Read token at ../src/test_parser.nit:57,24--27 text='"-h"'
-Read token at ../src/test_parser.nit:57,29--30 text='or'
-Read token at ../src/test_parser.nit:57,32--35 text='args'
-Read token at ../src/test_parser.nit:57,36 text='.'
-Read token at ../src/test_parser.nit:57,37--41 text='first'
-Read token at ../src/test_parser.nit:57,43--44 text='=='
-Read token at ../src/test_parser.nit:57,46--49 text='"-?"'
-Read token at ../src/test_parser.nit:57,51--54 text='then'
-Read token at ../src/test_parser.nit:57,55--58,0 text='
-'
-Read token at ../src/test_parser.nit:58,3--11 text='need_help'
-Read token at ../src/test_parser.nit:58,13 text='='
-Read token at ../src/test_parser.nit:58,15--18 text='true'
-Read token at ../src/test_parser.nit:58,19--59,0 text='
+Read token at ../src/test_parser.nit:57,24--27 text='"-e"'
+Read token at ../src/test_parser.nit:57,29--32 text='then'
+Read token at ../src/test_parser.nit:57,33--58,0 text='
+'
+Read token at ../src/test_parser.nit:58,3--9 text='no_file'
+Read token at ../src/test_parser.nit:58,11 text='='
+Read token at ../src/test_parser.nit:58,13--16 text='true'
+Read token at ../src/test_parser.nit:58,17--59,0 text='
 '
 Read token at ../src/test_parser.nit:59,2--5 text='else'
-Read token at ../src/test_parser.nit:59,6--60,0 text='
-'
-Read token at ../src/test_parser.nit:60,3--8 text='stderr'
-Read token at ../src/test_parser.nit:60,9 text='.'
-Read token at ../src/test_parser.nit:60,10--14 text='write'
-Read token at ../src/test_parser.nit:60,15 text='('
-Read token at ../src/test_parser.nit:60,16--32 text='"Unknown option {'
-Read token at ../src/test_parser.nit:60,33--36 text='args'
-Read token at ../src/test_parser.nit:60,37 text='.'
-Read token at ../src/test_parser.nit:60,38--42 text='first'
-Read token at ../src/test_parser.nit:60,43--47 text='}.\n"'
-Read token at ../src/test_parser.nit:60,48 text=')'
-Read token at ../src/test_parser.nit:60,49--61,0 text='
-'
-Read token at ../src/test_parser.nit:61,3--6 text='exit'
-Read token at ../src/test_parser.nit:61,7 text='('
-Read token at ../src/test_parser.nit:61,8 text='0'
-Read token at ../src/test_parser.nit:61,9 text=')'
-Read token at ../src/test_parser.nit:61,10--62,0 text='
-'
-Read token at ../src/test_parser.nit:62,2--4 text='end'
-Read token at ../src/test_parser.nit:62,5--63,0 text='
-'
-Read token at ../src/test_parser.nit:63,2--5 text='args'
-Read token at ../src/test_parser.nit:63,6 text='.'
-Read token at ../src/test_parser.nit:63,7--11 text='shift'
-Read token at ../src/test_parser.nit:63,12--64,0 text='
-'
-Read token at ../src/test_parser.nit:64,1--3 text='end'
-Read token at ../src/test_parser.nit:64,4--65,0 text='
-'
-Read token at ../src/test_parser.nit:65,1--66,0 text='
-'
-Read token at ../src/test_parser.nit:66,1--2 text='if'
-Read token at ../src/test_parser.nit:66,4--7 text='args'
-Read token at ../src/test_parser.nit:66,8 text='.'
-Read token at ../src/test_parser.nit:66,9--16 text='is_empty'
-Read token at ../src/test_parser.nit:66,18--19 text='or'
-Read token at ../src/test_parser.nit:66,21--29 text='need_help'
-Read token at ../src/test_parser.nit:66,31--34 text='then'
-Read token at ../src/test_parser.nit:66,35--67,0 text='
-'
-Read token at ../src/test_parser.nit:67,2--6 text='print'
-Read token at ../src/test_parser.nit:67,7 text='('
-Read token at ../src/test_parser.nit:67,8--15 text='"usage:"'
-Read token at ../src/test_parser.nit:67,16 text=')'
-Read token at ../src/test_parser.nit:67,17--68,0 text='
-'
-Read token at ../src/test_parser.nit:68,2--6 text='print'
-Read token at ../src/test_parser.nit:68,7 text='('
-Read token at ../src/test_parser.nit:68,8--53 text='"  test_parser [options]... <filename.nit>..."'
-Read token at ../src/test_parser.nit:68,54 text=')'
-Read token at ../src/test_parser.nit:68,55--69,0 text='
-'
-Read token at ../src/test_parser.nit:69,2--6 text='print'
-Read token at ../src/test_parser.nit:69,7 text='('
-Read token at ../src/test_parser.nit:69,8--17 text='"options:"'
-Read token at ../src/test_parser.nit:69,18 text=')'
-Read token at ../src/test_parser.nit:69,19--70,0 text='
-'
-Read token at ../src/test_parser.nit:70,2--6 text='print'
-Read token at ../src/test_parser.nit:70,7 text='('
-Read token at ../src/test_parser.nit:70,8--35 text='"  -n      do not print anything"'
-Read token at ../src/test_parser.nit:70,36 text=')'
-Read token at ../src/test_parser.nit:70,37--71,0 text='
+Read token at ../src/test_parser.nit:59,7--8 text='if'
+Read token at ../src/test_parser.nit:59,10--13 text='args'
+Read token at ../src/test_parser.nit:59,14 text='.'
+Read token at ../src/test_parser.nit:59,15--19 text='first'
+Read token at ../src/test_parser.nit:59,21--22 text='=='
+Read token at ../src/test_parser.nit:59,24--27 text='"-i"'
+Read token at ../src/test_parser.nit:59,29--32 text='then'
+Read token at ../src/test_parser.nit:59,33--60,0 text='
+'
+Read token at ../src/test_parser.nit:60,3--13 text='interactive'
+Read token at ../src/test_parser.nit:60,15 text='='
+Read token at ../src/test_parser.nit:60,17--20 text='true'
+Read token at ../src/test_parser.nit:60,21--61,0 text='
+'
+Read token at ../src/test_parser.nit:61,2--5 text='else'
+Read token at ../src/test_parser.nit:61,7--8 text='if'
+Read token at ../src/test_parser.nit:61,10--13 text='args'
+Read token at ../src/test_parser.nit:61,14 text='.'
+Read token at ../src/test_parser.nit:61,15--19 text='first'
+Read token at ../src/test_parser.nit:61,21--22 text='=='
+Read token at ../src/test_parser.nit:61,24--27 text='"-h"'
+Read token at ../src/test_parser.nit:61,29--30 text='or'
+Read token at ../src/test_parser.nit:61,32--35 text='args'
+Read token at ../src/test_parser.nit:61,36 text='.'
+Read token at ../src/test_parser.nit:61,37--41 text='first'
+Read token at ../src/test_parser.nit:61,43--44 text='=='
+Read token at ../src/test_parser.nit:61,46--49 text='"-?"'
+Read token at ../src/test_parser.nit:61,51--54 text='then'
+Read token at ../src/test_parser.nit:61,55--62,0 text='
+'
+Read token at ../src/test_parser.nit:62,3--11 text='need_help'
+Read token at ../src/test_parser.nit:62,13 text='='
+Read token at ../src/test_parser.nit:62,15--18 text='true'
+Read token at ../src/test_parser.nit:62,19--63,0 text='
+'
+Read token at ../src/test_parser.nit:63,2--5 text='else'
+Read token at ../src/test_parser.nit:63,6--64,0 text='
+'
+Read token at ../src/test_parser.nit:64,3--8 text='stderr'
+Read token at ../src/test_parser.nit:64,9 text='.'
+Read token at ../src/test_parser.nit:64,10--14 text='write'
+Read token at ../src/test_parser.nit:64,15 text='('
+Read token at ../src/test_parser.nit:64,16--32 text='"Unknown option {'
+Read token at ../src/test_parser.nit:64,33--36 text='args'
+Read token at ../src/test_parser.nit:64,37 text='.'
+Read token at ../src/test_parser.nit:64,38--42 text='first'
+Read token at ../src/test_parser.nit:64,43--47 text='}.\n"'
+Read token at ../src/test_parser.nit:64,48 text=')'
+Read token at ../src/test_parser.nit:64,49--65,0 text='
+'
+Read token at ../src/test_parser.nit:65,3--6 text='exit'
+Read token at ../src/test_parser.nit:65,7 text='('
+Read token at ../src/test_parser.nit:65,8 text='0'
+Read token at ../src/test_parser.nit:65,9 text=')'
+Read token at ../src/test_parser.nit:65,10--66,0 text='
+'
+Read token at ../src/test_parser.nit:66,2--4 text='end'
+Read token at ../src/test_parser.nit:66,5--67,0 text='
+'
+Read token at ../src/test_parser.nit:67,2--5 text='args'
+Read token at ../src/test_parser.nit:67,6 text='.'
+Read token at ../src/test_parser.nit:67,7--11 text='shift'
+Read token at ../src/test_parser.nit:67,12--68,0 text='
+'
+Read token at ../src/test_parser.nit:68,1--3 text='end'
+Read token at ../src/test_parser.nit:68,4--69,0 text='
+'
+Read token at ../src/test_parser.nit:69,1--70,0 text='
+'
+Read token at ../src/test_parser.nit:70,1--2 text='if'
+Read token at ../src/test_parser.nit:70,4 text='('
+Read token at ../src/test_parser.nit:70,5--8 text='args'
+Read token at ../src/test_parser.nit:70,9 text='.'
+Read token at ../src/test_parser.nit:70,10--17 text='is_empty'
+Read token at ../src/test_parser.nit:70,19--21 text='and'
+Read token at ../src/test_parser.nit:70,23--25 text='not'
+Read token at ../src/test_parser.nit:70,27--37 text='interactive'
+Read token at ../src/test_parser.nit:70,38 text=')'
+Read token at ../src/test_parser.nit:70,40--41 text='or'
+Read token at ../src/test_parser.nit:70,43--51 text='need_help'
+Read token at ../src/test_parser.nit:70,53--56 text='then'
+Read token at ../src/test_parser.nit:70,57--71,0 text='
 '
 Read token at ../src/test_parser.nit:71,2--6 text='print'
 Read token at ../src/test_parser.nit:71,7 text='('
-Read token at ../src/test_parser.nit:71,8--24 text='"  -l      only lexer"'
-Read token at ../src/test_parser.nit:71,25 text=')'
-Read token at ../src/test_parser.nit:71,26--72,0 text='
+Read token at ../src/test_parser.nit:71,8--15 text='"usage:"'
+Read token at ../src/test_parser.nit:71,16 text=')'
+Read token at ../src/test_parser.nit:71,17--72,0 text='
 '
 Read token at ../src/test_parser.nit:72,2--6 text='print'
 Read token at ../src/test_parser.nit:72,7 text='('
-Read token at ../src/test_parser.nit:72,8--40 text='"  -p      lexer and parser (default)"'
-Read token at ../src/test_parser.nit:72,41 text=')'
-Read token at ../src/test_parser.nit:72,42--73,0 text='
+Read token at ../src/test_parser.nit:72,8--53 text='"  test_parser [options]... <filename.nit>..."'
+Read token at ../src/test_parser.nit:72,54 text=')'
+Read token at ../src/test_parser.nit:72,55--73,0 text='
 '
 Read token at ../src/test_parser.nit:73,2--6 text='print'
 Read token at ../src/test_parser.nit:73,7 text='('
-Read token at ../src/test_parser.nit:73,8--67 text='"  -e      instead on files, each argument is a content to parse"'
-Read token at ../src/test_parser.nit:73,68 text=')'
-Read token at ../src/test_parser.nit:73,69--74,0 text='
+Read token at ../src/test_parser.nit:73,8--48 text='"  test_parser -e [options]... <text>..."'
+Read token at ../src/test_parser.nit:73,49 text=')'
+Read token at ../src/test_parser.nit:73,50--74,0 text='
 '
 Read token at ../src/test_parser.nit:74,2--6 text='print'
 Read token at ../src/test_parser.nit:74,7 text='('
-Read token at ../src/test_parser.nit:74,8--29 text='"  -h      print this help"'
-Read token at ../src/test_parser.nit:74,30 text=')'
-Read token at ../src/test_parser.nit:74,31--75,0 text='
-'
-Read token at ../src/test_parser.nit:75,1--4 text='else'
-Read token at ../src/test_parser.nit:75,5--76,0 text='
-'
-Read token at ../src/test_parser.nit:76,2--4 text='for'
-Read token at ../src/test_parser.nit:76,6 text='a'
-Read token at ../src/test_parser.nit:76,8--9 text='in'
-Read token at ../src/test_parser.nit:76,11--14 text='args'
-Read token at ../src/test_parser.nit:76,16--17 text='do'
-Read token at ../src/test_parser.nit:76,18--77,0 text='
-'
-Read token at ../src/test_parser.nit:77,3--5 text='var'
-Read token at ../src/test_parser.nit:77,7--12 text='source'
-Read token at ../src/test_parser.nit:77,13--78,0 text='
-'
-Read token at ../src/test_parser.nit:78,3--4 text='if'
-Read token at ../src/test_parser.nit:78,6--12 text='no_file'
-Read token at ../src/test_parser.nit:78,14--17 text='then'
-Read token at ../src/test_parser.nit:78,18--79,0 text='
-'
-Read token at ../src/test_parser.nit:79,4--9 text='source'
-Read token at ../src/test_parser.nit:79,11 text='='
-Read token at ../src/test_parser.nit:79,13--15 text='new'
-Read token at ../src/test_parser.nit:79,17--26 text='SourceFile'
-Read token at ../src/test_parser.nit:79,27 text='.'
-Read token at ../src/test_parser.nit:79,28--38 text='from_string'
-Read token at ../src/test_parser.nit:79,39 text='('
-Read token at ../src/test_parser.nit:79,40--41 text='""'
-Read token at ../src/test_parser.nit:79,42 text=','
-Read token at ../src/test_parser.nit:79,44 text='a'
-Read token at ../src/test_parser.nit:79,45 text=')'
-Read token at ../src/test_parser.nit:79,46--80,0 text='
-'
-Read token at ../src/test_parser.nit:80,3--6 text='else'
-Read token at ../src/test_parser.nit:80,7--81,0 text='
-'
-Read token at ../src/test_parser.nit:81,4--6 text='var'
-Read token at ../src/test_parser.nit:81,8 text='f'
-Read token at ../src/test_parser.nit:81,10 text='='
-Read token at ../src/test_parser.nit:81,12--14 text='new'
-Read token at ../src/test_parser.nit:81,16--23 text='IFStream'
-Read token at ../src/test_parser.nit:81,24 text='.'
-Read token at ../src/test_parser.nit:81,25--28 text='open'
-Read token at ../src/test_parser.nit:81,29 text='('
-Read token at ../src/test_parser.nit:81,30 text='a'
-Read token at ../src/test_parser.nit:81,31 text=')'
-Read token at ../src/test_parser.nit:81,32--82,0 text='
-'
-Read token at ../src/test_parser.nit:82,4--9 text='source'
-Read token at ../src/test_parser.nit:82,11 text='='
-Read token at ../src/test_parser.nit:82,13--15 text='new'
-Read token at ../src/test_parser.nit:82,17--26 text='SourceFile'
-Read token at ../src/test_parser.nit:82,27 text='('
-Read token at ../src/test_parser.nit:82,28 text='a'
-Read token at ../src/test_parser.nit:82,29 text=','
-Read token at ../src/test_parser.nit:82,31 text='f'
-Read token at ../src/test_parser.nit:82,32 text=')'
-Read token at ../src/test_parser.nit:82,33--83,0 text='
-'
-Read token at ../src/test_parser.nit:83,4 text='f'
-Read token at ../src/test_parser.nit:83,5 text='.'
-Read token at ../src/test_parser.nit:83,6--10 text='close'
-Read token at ../src/test_parser.nit:83,11--84,0 text='
-'
-Read token at ../src/test_parser.nit:84,3--5 text='end'
-Read token at ../src/test_parser.nit:84,6--85,0 text='
-'
-Read token at ../src/test_parser.nit:85,3--5 text='var'
-Read token at ../src/test_parser.nit:85,7--11 text='lexer'
-Read token at ../src/test_parser.nit:85,13 text='='
-Read token at ../src/test_parser.nit:85,15--17 text='new'
-Read token at ../src/test_parser.nit:85,19--23 text='Lexer'
-Read token at ../src/test_parser.nit:85,24 text='('
-Read token at ../src/test_parser.nit:85,25--30 text='source'
-Read token at ../src/test_parser.nit:85,31 text=')'
-Read token at ../src/test_parser.nit:85,32--86,0 text='
-'
-Read token at ../src/test_parser.nit:86,3--4 text='if'
-Read token at ../src/test_parser.nit:86,6--15 text='only_lexer'
-Read token at ../src/test_parser.nit:86,17--20 text='then'
-Read token at ../src/test_parser.nit:86,21--87,0 text='
-'
-Read token at ../src/test_parser.nit:87,4--6 text='var'
-Read token at ../src/test_parser.nit:87,8--12 text='token'
-Read token at ../src/test_parser.nit:87,14 text='='
-Read token at ../src/test_parser.nit:87,16--20 text='lexer'
-Read token at ../src/test_parser.nit:87,21 text='.'
-Read token at ../src/test_parser.nit:87,22--25 text='next'
-Read token at ../src/test_parser.nit:87,26--88,0 text='
-'
-Read token at ../src/test_parser.nit:88,4--8 text='while'
-Read token at ../src/test_parser.nit:88,10--12 text='not'
-Read token at ../src/test_parser.nit:88,14--18 text='token'
-Read token at ../src/test_parser.nit:88,20--22 text='isa'
-Read token at ../src/test_parser.nit:88,24--26 text='EOF'
-Read token at ../src/test_parser.nit:88,28--29 text='do'
-Read token at ../src/test_parser.nit:88,30--89,0 text='
-'
-Read token at ../src/test_parser.nit:89,5--6 text='if'
-Read token at ../src/test_parser.nit:89,8--10 text='not'
-Read token at ../src/test_parser.nit:89,12--19 text='no_print'
-Read token at ../src/test_parser.nit:89,21--24 text='then'
-Read token at ../src/test_parser.nit:89,25--90,0 text='
-'
-Read token at ../src/test_parser.nit:90,6--10 text='print'
-Read token at ../src/test_parser.nit:90,11 text='('
-Read token at ../src/test_parser.nit:90,12--27 text='"Read token at {'
-Read token at ../src/test_parser.nit:90,28--32 text='token'
-Read token at ../src/test_parser.nit:90,33 text='.'
-Read token at ../src/test_parser.nit:90,34--41 text='location'
-Read token at ../src/test_parser.nit:90,42--50 text='} text='{'
-Read token at ../src/test_parser.nit:90,51--55 text='token'
-Read token at ../src/test_parser.nit:90,56 text='.'
-Read token at ../src/test_parser.nit:90,57--60 text='text'
-Read token at ../src/test_parser.nit:90,61--63 text='}'"'
-Read token at ../src/test_parser.nit:90,64 text=')'
-Read token at ../src/test_parser.nit:90,65--91,0 text='
-'
-Read token at ../src/test_parser.nit:91,5--7 text='end'
-Read token at ../src/test_parser.nit:91,8--92,0 text='
-'
-Read token at ../src/test_parser.nit:92,5--9 text='token'
-Read token at ../src/test_parser.nit:92,11 text='='
-Read token at ../src/test_parser.nit:92,13--17 text='lexer'
-Read token at ../src/test_parser.nit:92,18 text='.'
-Read token at ../src/test_parser.nit:92,19--22 text='next'
-Read token at ../src/test_parser.nit:92,23--93,0 text='
-'
-Read token at ../src/test_parser.nit:93,4--6 text='end'
-Read token at ../src/test_parser.nit:93,7--94,0 text='
-'
-Read token at ../src/test_parser.nit:94,3--6 text='else'
-Read token at ../src/test_parser.nit:94,7--95,0 text='
-'
-Read token at ../src/test_parser.nit:95,4--6 text='var'
-Read token at ../src/test_parser.nit:95,8--13 text='parser'
-Read token at ../src/test_parser.nit:95,15 text='='
-Read token at ../src/test_parser.nit:95,17--19 text='new'
-Read token at ../src/test_parser.nit:95,21--26 text='Parser'
-Read token at ../src/test_parser.nit:95,27 text='('
-Read token at ../src/test_parser.nit:95,28--32 text='lexer'
-Read token at ../src/test_parser.nit:95,33 text=')'
-Read token at ../src/test_parser.nit:95,34--96,0 text='
-'
-Read token at ../src/test_parser.nit:96,4--6 text='var'
-Read token at ../src/test_parser.nit:96,8--11 text='tree'
-Read token at ../src/test_parser.nit:96,13 text='='
-Read token at ../src/test_parser.nit:96,15--20 text='parser'
-Read token at ../src/test_parser.nit:96,21 text='.'
-Read token at ../src/test_parser.nit:96,22--26 text='parse'
-Read token at ../src/test_parser.nit:96,27--97,0 text='
-'
-Read token at ../src/test_parser.nit:97,1--98,0 text='
-'
-Read token at ../src/test_parser.nit:98,4--6 text='var'
-Read token at ../src/test_parser.nit:98,8--12 text='error'
-Read token at ../src/test_parser.nit:98,14 text='='
-Read token at ../src/test_parser.nit:98,16--19 text='tree'
-Read token at ../src/test_parser.nit:98,20 text='.'
-Read token at ../src/test_parser.nit:98,21--25 text='n_eof'
-Read token at ../src/test_parser.nit:98,26--99,0 text='
-'
-Read token at ../src/test_parser.nit:99,4--5 text='if'
-Read token at ../src/test_parser.nit:99,7--11 text='error'
-Read token at ../src/test_parser.nit:99,13--15 text='isa'
-Read token at ../src/test_parser.nit:99,17--22 text='AError'
-Read token at ../src/test_parser.nit:99,24--27 text='then'
-Read token at ../src/test_parser.nit:99,28--100,0 text='
-'
-Read token at ../src/test_parser.nit:100,5--9 text='print'
-Read token at ../src/test_parser.nit:100,10 text='('
-Read token at ../src/test_parser.nit:100,11--21 text='"Error at {'
-Read token at ../src/test_parser.nit:100,22--26 text='error'
-Read token at ../src/test_parser.nit:100,27 text='.'
-Read token at ../src/test_parser.nit:100,28--35 text='location'
-Read token at ../src/test_parser.nit:100,36--42 text='}:\n\t{'
-Read token at ../src/test_parser.nit:100,43--47 text='error'
-Read token at ../src/test_parser.nit:100,48 text='.'
-Read token at ../src/test_parser.nit:100,49--55 text='message'
-Read token at ../src/test_parser.nit:100,56--57 text='}"'
-Read token at ../src/test_parser.nit:100,58 text=')'
-Read token at ../src/test_parser.nit:100,59--101,0 text='
-'
-Read token at ../src/test_parser.nit:101,5--10 text='return'
-Read token at ../src/test_parser.nit:101,11--102,0 text='
-'
-Read token at ../src/test_parser.nit:102,4--6 text='end'
-Read token at ../src/test_parser.nit:102,7--103,0 text='
-'
-Read token at ../src/test_parser.nit:103,1--104,0 text='
-'
-Read token at ../src/test_parser.nit:104,4--5 text='if'
-Read token at ../src/test_parser.nit:104,7--9 text='not'
-Read token at ../src/test_parser.nit:104,11--18 text='no_print'
-Read token at ../src/test_parser.nit:104,20--23 text='then'
-Read token at ../src/test_parser.nit:104,24--105,0 text='
-'
-Read token at ../src/test_parser.nit:105,5 text='('
-Read token at ../src/test_parser.nit:105,6--8 text='new'
-Read token at ../src/test_parser.nit:105,10--25 text='PrintTreeVisitor'
-Read token at ../src/test_parser.nit:105,26 text=')'
-Read token at ../src/test_parser.nit:105,27 text='.'
-Read token at ../src/test_parser.nit:105,28--38 text='enter_visit'
-Read token at ../src/test_parser.nit:105,39 text='('
-Read token at ../src/test_parser.nit:105,40--43 text='tree'
-Read token at ../src/test_parser.nit:105,44 text=')'
-Read token at ../src/test_parser.nit:105,45--106,0 text='
-'
-Read token at ../src/test_parser.nit:106,4--6 text='end'
-Read token at ../src/test_parser.nit:106,7--107,0 text='
-'
-Read token at ../src/test_parser.nit:107,3--5 text='end'
-Read token at ../src/test_parser.nit:107,6--108,0 text='
-'
-Read token at ../src/test_parser.nit:108,2--4 text='end'
-Read token at ../src/test_parser.nit:108,5--109,0 text='
-'
-Read token at ../src/test_parser.nit:109,1--3 text='end'
-Read token at ../src/test_parser.nit:109,4--110,0 text='
+Read token at ../src/test_parser.nit:74,8--38 text='"  test_parser -i [options]..."'
+Read token at ../src/test_parser.nit:74,39 text=')'
+Read token at ../src/test_parser.nit:74,40--75,0 text='
+'
+Read token at ../src/test_parser.nit:75,2--6 text='print'
+Read token at ../src/test_parser.nit:75,7 text='('
+Read token at ../src/test_parser.nit:75,8--17 text='"options:"'
+Read token at ../src/test_parser.nit:75,18 text=')'
+Read token at ../src/test_parser.nit:75,19--76,0 text='
+'
+Read token at ../src/test_parser.nit:76,2--6 text='print'
+Read token at ../src/test_parser.nit:76,7 text='('
+Read token at ../src/test_parser.nit:76,8--35 text='"  -n      do not print anything"'
+Read token at ../src/test_parser.nit:76,36 text=')'
+Read token at ../src/test_parser.nit:76,37--77,0 text='
+'
+Read token at ../src/test_parser.nit:77,2--6 text='print'
+Read token at ../src/test_parser.nit:77,7 text='('
+Read token at ../src/test_parser.nit:77,8--24 text='"  -l      only lexer"'
+Read token at ../src/test_parser.nit:77,25 text=')'
+Read token at ../src/test_parser.nit:77,26--78,0 text='
+'
+Read token at ../src/test_parser.nit:78,2--6 text='print'
+Read token at ../src/test_parser.nit:78,7 text='('
+Read token at ../src/test_parser.nit:78,8--40 text='"  -p      lexer and parser (default)"'
+Read token at ../src/test_parser.nit:78,41 text=')'
+Read token at ../src/test_parser.nit:78,42--79,0 text='
+'
+Read token at ../src/test_parser.nit:79,2--6 text='print'
+Read token at ../src/test_parser.nit:79,7 text='('
+Read token at ../src/test_parser.nit:79,8--67 text='"  -e      instead on files, each argument is a content to parse"'
+Read token at ../src/test_parser.nit:79,68 text=')'
+Read token at ../src/test_parser.nit:79,69--80,0 text='
+'
+Read token at ../src/test_parser.nit:80,2--6 text='print'
+Read token at ../src/test_parser.nit:80,7 text='('
+Read token at ../src/test_parser.nit:80,8--50 text='"  -i      tree to parse are read interactively"'
+Read token at ../src/test_parser.nit:80,51 text=')'
+Read token at ../src/test_parser.nit:80,52--81,0 text='
+'
+Read token at ../src/test_parser.nit:81,2--6 text='print'
+Read token at ../src/test_parser.nit:81,7 text='('
+Read token at ../src/test_parser.nit:81,8--29 text='"  -h      print this help"'
+Read token at ../src/test_parser.nit:81,30 text=')'
+Read token at ../src/test_parser.nit:81,31--82,0 text='
+'
+Read token at ../src/test_parser.nit:82,1--4 text='else'
+Read token at ../src/test_parser.nit:82,6--7 text='if'
+Read token at ../src/test_parser.nit:82,9--19 text='interactive'
+Read token at ../src/test_parser.nit:82,21--24 text='then'
+Read token at ../src/test_parser.nit:82,25--83,0 text='
+'
+Read token at ../src/test_parser.nit:83,2--3 text='if'
+Read token at ../src/test_parser.nit:83,5--14 text='only_lexer'
+Read token at ../src/test_parser.nit:83,16--19 text='then'
+Read token at ../src/test_parser.nit:83,20--84,0 text='
+'
+Read token at ../src/test_parser.nit:84,3--7 text='print'
+Read token at ../src/test_parser.nit:84,9--44 text='"Error: -l and -i are incompatibles"'
+Read token at ../src/test_parser.nit:84,45--85,0 text='
+'
+Read token at ../src/test_parser.nit:85,3--6 text='exit'
+Read token at ../src/test_parser.nit:85,8 text='1'
+Read token at ../src/test_parser.nit:85,9--86,0 text='
+'
+Read token at ../src/test_parser.nit:86,2--5 text='else'
+Read token at ../src/test_parser.nit:86,7--8 text='if'
+Read token at ../src/test_parser.nit:86,10--16 text='no_file'
+Read token at ../src/test_parser.nit:86,18--21 text='then'
+Read token at ../src/test_parser.nit:86,22--87,0 text='
+'
+Read token at ../src/test_parser.nit:87,3--7 text='print'
+Read token at ../src/test_parser.nit:87,9--44 text='"Error: -e and -i are incompatibles"'
+Read token at ../src/test_parser.nit:87,45--88,0 text='
+'
+Read token at ../src/test_parser.nit:88,3--6 text='exit'
+Read token at ../src/test_parser.nit:88,8 text='1'
+Read token at ../src/test_parser.nit:88,9--89,0 text='
+'
+Read token at ../src/test_parser.nit:89,2--5 text='else'
+Read token at ../src/test_parser.nit:89,7--8 text='if'
+Read token at ../src/test_parser.nit:89,10--12 text='not'
+Read token at ../src/test_parser.nit:89,14--17 text='args'
+Read token at ../src/test_parser.nit:89,18 text='.'
+Read token at ../src/test_parser.nit:89,19--26 text='is_empty'
+Read token at ../src/test_parser.nit:89,28--31 text='then'
+Read token at ../src/test_parser.nit:89,32--90,0 text='
+'
+Read token at ../src/test_parser.nit:90,3--7 text='print'
+Read token at ../src/test_parser.nit:90,9--43 text='"Error: -i works without arguments"'
+Read token at ../src/test_parser.nit:90,44--91,0 text='
+'
+Read token at ../src/test_parser.nit:91,3--6 text='exit'
+Read token at ../src/test_parser.nit:91,8 text='1'
+Read token at ../src/test_parser.nit:91,9--92,0 text='
+'
+Read token at ../src/test_parser.nit:92,2--4 text='end'
+Read token at ../src/test_parser.nit:92,5--93,0 text='
+'
+Read token at ../src/test_parser.nit:93,1--94,0 text='
+'
+Read token at ../src/test_parser.nit:94,2--4 text='var'
+Read token at ../src/test_parser.nit:94,6--7 text='tc'
+Read token at ../src/test_parser.nit:94,9 text='='
+Read token at ../src/test_parser.nit:94,11--13 text='new'
+Read token at ../src/test_parser.nit:94,15--25 text='ToolContext'
+Read token at ../src/test_parser.nit:94,26--95,0 text='
+'
+Read token at ../src/test_parser.nit:95,1--96,0 text='
+'
+Read token at ../src/test_parser.nit:96,2--5 text='loop'
+Read token at ../src/test_parser.nit:96,6--97,0 text='
+'
+Read token at ../src/test_parser.nit:97,3--5 text='var'
+Read token at ../src/test_parser.nit:97,7 text='n'
+Read token at ../src/test_parser.nit:97,9 text='='
+Read token at ../src/test_parser.nit:97,11--12 text='tc'
+Read token at ../src/test_parser.nit:97,13 text='.'
+Read token at ../src/test_parser.nit:97,14--30 text='interactive_parse'
+Read token at ../src/test_parser.nit:97,31 text='('
+Read token at ../src/test_parser.nit:97,32--36 text='"-->"'
+Read token at ../src/test_parser.nit:97,37 text=')'
+Read token at ../src/test_parser.nit:97,38--98,0 text='
+'
+Read token at ../src/test_parser.nit:98,3--4 text='if'
+Read token at ../src/test_parser.nit:98,6 text='n'
+Read token at ../src/test_parser.nit:98,8--10 text='isa'
+Read token at ../src/test_parser.nit:98,12--18 text='TString'
+Read token at ../src/test_parser.nit:98,20--23 text='then'
+Read token at ../src/test_parser.nit:98,24--99,0 text='
+'
+Read token at ../src/test_parser.nit:99,4--6 text='var'
+Read token at ../src/test_parser.nit:99,8 text='s'
+Read token at ../src/test_parser.nit:99,10 text='='
+Read token at ../src/test_parser.nit:99,12 text='n'
+Read token at ../src/test_parser.nit:99,13 text='.'
+Read token at ../src/test_parser.nit:99,14--17 text='text'
+Read token at ../src/test_parser.nit:99,18--100,0 text='
+'
+Read token at ../src/test_parser.nit:100,4--5 text='if'
+Read token at ../src/test_parser.nit:100,7 text='s'
+Read token at ../src/test_parser.nit:100,9--10 text='=='
+Read token at ../src/test_parser.nit:100,12--15 text='":q"'
+Read token at ../src/test_parser.nit:100,17--20 text='then'
+Read token at ../src/test_parser.nit:100,21--101,0 text='
+'
+Read token at ../src/test_parser.nit:101,5--9 text='break'
+Read token at ../src/test_parser.nit:101,10--102,0 text='
+'
+Read token at ../src/test_parser.nit:102,4--7 text='else'
+Read token at ../src/test_parser.nit:102,8--103,0 text='
+'
+Read token at ../src/test_parser.nit:103,5--9 text='print'
+Read token at ../src/test_parser.nit:103,11--24 text='"`:q` to quit"'
+Read token at ../src/test_parser.nit:103,25--104,0 text='
+'
+Read token at ../src/test_parser.nit:104,4--6 text='end'
+Read token at ../src/test_parser.nit:104,7--105,0 text='
+'
+Read token at ../src/test_parser.nit:105,4--11 text='continue'
+Read token at ../src/test_parser.nit:105,12--106,0 text='
+'
+Read token at ../src/test_parser.nit:106,3--5 text='end'
+Read token at ../src/test_parser.nit:106,6--107,0 text='
+'
+Read token at ../src/test_parser.nit:107,1--108,0 text='
+'
+Read token at ../src/test_parser.nit:108,3--4 text='if'
+Read token at ../src/test_parser.nit:108,6 text='n'
+Read token at ../src/test_parser.nit:108,8--10 text='isa'
+Read token at ../src/test_parser.nit:108,12--17 text='AError'
+Read token at ../src/test_parser.nit:108,19--22 text='then'
+Read token at ../src/test_parser.nit:108,23--109,0 text='
+'
+Read token at ../src/test_parser.nit:109,4--8 text='print'
+Read token at ../src/test_parser.nit:109,10--11 text='"{'
+Read token at ../src/test_parser.nit:109,12 text='n'
+Read token at ../src/test_parser.nit:109,13 text='.'
+Read token at ../src/test_parser.nit:109,14--21 text='location'
+Read token at ../src/test_parser.nit:109,22 text='.'
+Read token at ../src/test_parser.nit:109,23--34 text='colored_line'
+Read token at ../src/test_parser.nit:109,35 text='('
+Read token at ../src/test_parser.nit:109,36--41 text='"0;31"'
+Read token at ../src/test_parser.nit:109,42 text=')'
+Read token at ../src/test_parser.nit:109,43--46 text='}: {'
+Read token at ../src/test_parser.nit:109,47 text='n'
+Read token at ../src/test_parser.nit:109,48 text='.'
+Read token at ../src/test_parser.nit:109,49--55 text='message'
+Read token at ../src/test_parser.nit:109,56--57 text='}"'
+Read token at ../src/test_parser.nit:109,58--110,0 text='
+'
+Read token at ../src/test_parser.nit:110,4--11 text='continue'
+Read token at ../src/test_parser.nit:110,12--111,0 text='
+'
+Read token at ../src/test_parser.nit:111,3--5 text='end'
+Read token at ../src/test_parser.nit:111,6--112,0 text='
+'
+Read token at ../src/test_parser.nit:112,1--113,0 text='
+'
+Read token at ../src/test_parser.nit:113,3--4 text='if'
+Read token at ../src/test_parser.nit:113,6--8 text='not'
+Read token at ../src/test_parser.nit:113,10--17 text='no_print'
+Read token at ../src/test_parser.nit:113,19--22 text='then'
+Read token at ../src/test_parser.nit:113,23--114,0 text='
+'
+Read token at ../src/test_parser.nit:114,4 text='('
+Read token at ../src/test_parser.nit:114,5--7 text='new'
+Read token at ../src/test_parser.nit:114,9--24 text='PrintTreeVisitor'
+Read token at ../src/test_parser.nit:114,25 text=')'
+Read token at ../src/test_parser.nit:114,26 text='.'
+Read token at ../src/test_parser.nit:114,27--37 text='enter_visit'
+Read token at ../src/test_parser.nit:114,38 text='('
+Read token at ../src/test_parser.nit:114,39 text='n'
+Read token at ../src/test_parser.nit:114,40 text=')'
+Read token at ../src/test_parser.nit:114,41--115,0 text='
+'
+Read token at ../src/test_parser.nit:115,3--5 text='end'
+Read token at ../src/test_parser.nit:115,6--116,0 text='
+'
+Read token at ../src/test_parser.nit:116,2--4 text='end'
+Read token at ../src/test_parser.nit:116,5--117,0 text='
+'
+Read token at ../src/test_parser.nit:117,1--4 text='else'
+Read token at ../src/test_parser.nit:117,5--118,0 text='
+'
+Read token at ../src/test_parser.nit:118,2--4 text='for'
+Read token at ../src/test_parser.nit:118,6 text='a'
+Read token at ../src/test_parser.nit:118,8--9 text='in'
+Read token at ../src/test_parser.nit:118,11--14 text='args'
+Read token at ../src/test_parser.nit:118,16--17 text='do'
+Read token at ../src/test_parser.nit:118,18--119,0 text='
+'
+Read token at ../src/test_parser.nit:119,3--5 text='var'
+Read token at ../src/test_parser.nit:119,7--12 text='source'
+Read token at ../src/test_parser.nit:119,13--120,0 text='
+'
+Read token at ../src/test_parser.nit:120,3--4 text='if'
+Read token at ../src/test_parser.nit:120,6--12 text='no_file'
+Read token at ../src/test_parser.nit:120,14--17 text='then'
+Read token at ../src/test_parser.nit:120,18--121,0 text='
+'
+Read token at ../src/test_parser.nit:121,4--9 text='source'
+Read token at ../src/test_parser.nit:121,11 text='='
+Read token at ../src/test_parser.nit:121,13--15 text='new'
+Read token at ../src/test_parser.nit:121,17--26 text='SourceFile'
+Read token at ../src/test_parser.nit:121,27 text='.'
+Read token at ../src/test_parser.nit:121,28--38 text='from_string'
+Read token at ../src/test_parser.nit:121,39 text='('
+Read token at ../src/test_parser.nit:121,40--41 text='""'
+Read token at ../src/test_parser.nit:121,42 text=','
+Read token at ../src/test_parser.nit:121,44 text='a'
+Read token at ../src/test_parser.nit:121,45 text=')'
+Read token at ../src/test_parser.nit:121,46--122,0 text='
+'
+Read token at ../src/test_parser.nit:122,3--6 text='else'
+Read token at ../src/test_parser.nit:122,7--123,0 text='
+'
+Read token at ../src/test_parser.nit:123,4--6 text='var'
+Read token at ../src/test_parser.nit:123,8 text='f'
+Read token at ../src/test_parser.nit:123,10 text='='
+Read token at ../src/test_parser.nit:123,12--14 text='new'
+Read token at ../src/test_parser.nit:123,16--23 text='IFStream'
+Read token at ../src/test_parser.nit:123,24 text='.'
+Read token at ../src/test_parser.nit:123,25--28 text='open'
+Read token at ../src/test_parser.nit:123,29 text='('
+Read token at ../src/test_parser.nit:123,30 text='a'
+Read token at ../src/test_parser.nit:123,31 text=')'
+Read token at ../src/test_parser.nit:123,32--124,0 text='
+'
+Read token at ../src/test_parser.nit:124,4--9 text='source'
+Read token at ../src/test_parser.nit:124,11 text='='
+Read token at ../src/test_parser.nit:124,13--15 text='new'
+Read token at ../src/test_parser.nit:124,17--26 text='SourceFile'
+Read token at ../src/test_parser.nit:124,27 text='('
+Read token at ../src/test_parser.nit:124,28 text='a'
+Read token at ../src/test_parser.nit:124,29 text=','
+Read token at ../src/test_parser.nit:124,31 text='f'
+Read token at ../src/test_parser.nit:124,32 text=')'
+Read token at ../src/test_parser.nit:124,33--125,0 text='
+'
+Read token at ../src/test_parser.nit:125,4 text='f'
+Read token at ../src/test_parser.nit:125,5 text='.'
+Read token at ../src/test_parser.nit:125,6--10 text='close'
+Read token at ../src/test_parser.nit:125,11--126,0 text='
+'
+Read token at ../src/test_parser.nit:126,3--5 text='end'
+Read token at ../src/test_parser.nit:126,6--127,0 text='
+'
+Read token at ../src/test_parser.nit:127,3--5 text='var'
+Read token at ../src/test_parser.nit:127,7--11 text='lexer'
+Read token at ../src/test_parser.nit:127,13 text='='
+Read token at ../src/test_parser.nit:127,15--17 text='new'
+Read token at ../src/test_parser.nit:127,19--23 text='Lexer'
+Read token at ../src/test_parser.nit:127,24 text='('
+Read token at ../src/test_parser.nit:127,25--30 text='source'
+Read token at ../src/test_parser.nit:127,31 text=')'
+Read token at ../src/test_parser.nit:127,32--128,0 text='
+'
+Read token at ../src/test_parser.nit:128,3--4 text='if'
+Read token at ../src/test_parser.nit:128,6--15 text='only_lexer'
+Read token at ../src/test_parser.nit:128,17--20 text='then'
+Read token at ../src/test_parser.nit:128,21--129,0 text='
+'
+Read token at ../src/test_parser.nit:129,4--6 text='var'
+Read token at ../src/test_parser.nit:129,8--12 text='token'
+Read token at ../src/test_parser.nit:129,14 text='='
+Read token at ../src/test_parser.nit:129,16--20 text='lexer'
+Read token at ../src/test_parser.nit:129,21 text='.'
+Read token at ../src/test_parser.nit:129,22--25 text='next'
+Read token at ../src/test_parser.nit:129,26--130,0 text='
+'
+Read token at ../src/test_parser.nit:130,4--8 text='while'
+Read token at ../src/test_parser.nit:130,10--12 text='not'
+Read token at ../src/test_parser.nit:130,14--18 text='token'
+Read token at ../src/test_parser.nit:130,20--22 text='isa'
+Read token at ../src/test_parser.nit:130,24--26 text='EOF'
+Read token at ../src/test_parser.nit:130,28--29 text='do'
+Read token at ../src/test_parser.nit:130,30--131,0 text='
+'
+Read token at ../src/test_parser.nit:131,5--6 text='if'
+Read token at ../src/test_parser.nit:131,8--10 text='not'
+Read token at ../src/test_parser.nit:131,12--19 text='no_print'
+Read token at ../src/test_parser.nit:131,21--24 text='then'
+Read token at ../src/test_parser.nit:131,25--132,0 text='
+'
+Read token at ../src/test_parser.nit:132,6--10 text='print'
+Read token at ../src/test_parser.nit:132,11 text='('
+Read token at ../src/test_parser.nit:132,12--27 text='"Read token at {'
+Read token at ../src/test_parser.nit:132,28--32 text='token'
+Read token at ../src/test_parser.nit:132,33 text='.'
+Read token at ../src/test_parser.nit:132,34--41 text='location'
+Read token at ../src/test_parser.nit:132,42--50 text='} text='{'
+Read token at ../src/test_parser.nit:132,51--55 text='token'
+Read token at ../src/test_parser.nit:132,56 text='.'
+Read token at ../src/test_parser.nit:132,57--60 text='text'
+Read token at ../src/test_parser.nit:132,61--63 text='}'"'
+Read token at ../src/test_parser.nit:132,64 text=')'
+Read token at ../src/test_parser.nit:132,65--133,0 text='
+'
+Read token at ../src/test_parser.nit:133,5--7 text='end'
+Read token at ../src/test_parser.nit:133,8--134,0 text='
+'
+Read token at ../src/test_parser.nit:134,5--9 text='token'
+Read token at ../src/test_parser.nit:134,11 text='='
+Read token at ../src/test_parser.nit:134,13--17 text='lexer'
+Read token at ../src/test_parser.nit:134,18 text='.'
+Read token at ../src/test_parser.nit:134,19--22 text='next'
+Read token at ../src/test_parser.nit:134,23--135,0 text='
+'
+Read token at ../src/test_parser.nit:135,4--6 text='end'
+Read token at ../src/test_parser.nit:135,7--136,0 text='
+'
+Read token at ../src/test_parser.nit:136,3--6 text='else'
+Read token at ../src/test_parser.nit:136,7--137,0 text='
+'
+Read token at ../src/test_parser.nit:137,4--6 text='var'
+Read token at ../src/test_parser.nit:137,8--13 text='parser'
+Read token at ../src/test_parser.nit:137,15 text='='
+Read token at ../src/test_parser.nit:137,17--19 text='new'
+Read token at ../src/test_parser.nit:137,21--26 text='Parser'
+Read token at ../src/test_parser.nit:137,27 text='('
+Read token at ../src/test_parser.nit:137,28--32 text='lexer'
+Read token at ../src/test_parser.nit:137,33 text=')'
+Read token at ../src/test_parser.nit:137,34--138,0 text='
+'
+Read token at ../src/test_parser.nit:138,4--6 text='var'
+Read token at ../src/test_parser.nit:138,8--11 text='tree'
+Read token at ../src/test_parser.nit:138,13 text='='
+Read token at ../src/test_parser.nit:138,15--20 text='parser'
+Read token at ../src/test_parser.nit:138,21 text='.'
+Read token at ../src/test_parser.nit:138,22--26 text='parse'
+Read token at ../src/test_parser.nit:138,27--139,0 text='
+'
+Read token at ../src/test_parser.nit:139,1--140,0 text='
+'
+Read token at ../src/test_parser.nit:140,4--6 text='var'
+Read token at ../src/test_parser.nit:140,8--12 text='error'
+Read token at ../src/test_parser.nit:140,14 text='='
+Read token at ../src/test_parser.nit:140,16--19 text='tree'
+Read token at ../src/test_parser.nit:140,20 text='.'
+Read token at ../src/test_parser.nit:140,21--25 text='n_eof'
+Read token at ../src/test_parser.nit:140,26--141,0 text='
+'
+Read token at ../src/test_parser.nit:141,4--5 text='if'
+Read token at ../src/test_parser.nit:141,7--11 text='error'
+Read token at ../src/test_parser.nit:141,13--15 text='isa'
+Read token at ../src/test_parser.nit:141,17--22 text='AError'
+Read token at ../src/test_parser.nit:141,24--27 text='then'
+Read token at ../src/test_parser.nit:141,28--142,0 text='
+'
+Read token at ../src/test_parser.nit:142,5--9 text='print'
+Read token at ../src/test_parser.nit:142,10 text='('
+Read token at ../src/test_parser.nit:142,11--21 text='"Error at {'
+Read token at ../src/test_parser.nit:142,22--26 text='error'
+Read token at ../src/test_parser.nit:142,27 text='.'
+Read token at ../src/test_parser.nit:142,28--35 text='location'
+Read token at ../src/test_parser.nit:142,36--42 text='}:\n\t{'
+Read token at ../src/test_parser.nit:142,43--47 text='error'
+Read token at ../src/test_parser.nit:142,48 text='.'
+Read token at ../src/test_parser.nit:142,49--55 text='message'
+Read token at ../src/test_parser.nit:142,56--57 text='}"'
+Read token at ../src/test_parser.nit:142,58 text=')'
+Read token at ../src/test_parser.nit:142,59--143,0 text='
+'
+Read token at ../src/test_parser.nit:143,5--10 text='return'
+Read token at ../src/test_parser.nit:143,11--144,0 text='
+'
+Read token at ../src/test_parser.nit:144,4--6 text='end'
+Read token at ../src/test_parser.nit:144,7--145,0 text='
+'
+Read token at ../src/test_parser.nit:145,1--146,0 text='
+'
+Read token at ../src/test_parser.nit:146,4--5 text='if'
+Read token at ../src/test_parser.nit:146,7--9 text='not'
+Read token at ../src/test_parser.nit:146,11--18 text='no_print'
+Read token at ../src/test_parser.nit:146,20--23 text='then'
+Read token at ../src/test_parser.nit:146,24--147,0 text='
+'
+Read token at ../src/test_parser.nit:147,5 text='('
+Read token at ../src/test_parser.nit:147,6--8 text='new'
+Read token at ../src/test_parser.nit:147,10--25 text='PrintTreeVisitor'
+Read token at ../src/test_parser.nit:147,26 text=')'
+Read token at ../src/test_parser.nit:147,27 text='.'
+Read token at ../src/test_parser.nit:147,28--38 text='enter_visit'
+Read token at ../src/test_parser.nit:147,39 text='('
+Read token at ../src/test_parser.nit:147,40--43 text='tree'
+Read token at ../src/test_parser.nit:147,44 text=')'
+Read token at ../src/test_parser.nit:147,45--148,0 text='
+'
+Read token at ../src/test_parser.nit:148,4--6 text='end'
+Read token at ../src/test_parser.nit:148,7--149,0 text='
+'
+Read token at ../src/test_parser.nit:149,3--5 text='end'
+Read token at ../src/test_parser.nit:149,6--150,0 text='
+'
+Read token at ../src/test_parser.nit:150,2--4 text='end'
+Read token at ../src/test_parser.nit:150,5--151,0 text='
+'
+Read token at ../src/test_parser.nit:151,1--3 text='end'
+Read token at ../src/test_parser.nit:151,4--152,0 text='
 '
diff --git a/tests/sav/test_parser_args7.res b/tests/sav/test_parser_args7.res
new file mode 100644 (file)
index 0000000..16b4a6c
--- /dev/null
@@ -0,0 +1,85 @@
+--> ADecIntExpr 1,1
+  TNumber "1" 1,1
+--> ABlockExpr 1,1--0
+  ACallExpr 1,1--11
+    AImplicitSelfExpr 1,1
+    TId "hello" 1,1--5
+    AListExprs 1,7--11
+      ACallExpr 1,7--11
+        AImplicitSelfExpr 1,7
+        TId "world" 1,7--11
+        AListExprs 1,11
+  TKwend "" 1,1--0
+--> AStringExpr 1,1--13
+  TString "\"hello world\"" 1,1--13
+--> ABlockExpr 1,1--0
+  AForExpr 1,1--15
+    TKwfor "for" 1,1--3
+    TId "i" 1,5
+    ACallExpr 1,10
+      AImplicitSelfExpr 1,10
+      TId "x" 1,10
+      AListExprs 1,10
+    TKwdo "do" 1,12--13
+    ACallExpr 1,15
+      AImplicitSelfExpr 1,15
+      TId "p" 1,15
+      AListExprs 1,15
+  TKwend "" 1,1--0
+--> AModule 1,1--12
+  ATopClassdef 1,1--12
+    AConcreteMethPropdef 1,1--12
+      APublicVisibility 1,1
+      TKwmeth "fun" 1,1--3
+      AIdMethid 1,5--7
+        TId "foo" 1,5--7
+      ASignature 1,12
+      ACallExpr 1,12
+        AImplicitSelfExpr 1,12
+        TId "z" 1,12
+        AListExprs 1,12
+--> ... ... ABlockExpr 1,1--0
+  AForExpr 1,1--3,3
+    TKwfor "for" 1,1--3
+    TId "i" 1,5
+    ACallExpr 1,10
+      AImplicitSelfExpr 1,10
+      TId "x" 1,10
+      AListExprs 1,10
+    TKwdo "do" 1,12--13
+    ABlockExpr 2,1--3,3
+      ACallExpr 2,1
+        AImplicitSelfExpr 2,1
+        TId "p" 2,1
+        AListExprs 2,1
+      TKwend "end" 3,1--3
+  TKwend "" 1,1--0
+--> ... ... ... ... AModule 1,1--5,3
+  ATopClassdef 1,1--5,3
+    AConcreteMethPropdef 1,1--5,3
+      APublicVisibility 1,1
+      TKwmeth "fun" 1,1--3
+      AIdMethid 1,5--7
+        TId "foo" 1,5--7
+      ASignature 2,1
+      ABlockExpr 2,1--5,3
+        AForExpr 2,1--4,3
+          TKwfor "for" 2,1--3
+          TId "i" 2,5
+          ACallExpr 2,10
+            AImplicitSelfExpr 2,10
+            TId "x" 2,10
+            AListExprs 2,10
+          TKwdo "do" 2,12--13
+          ABlockExpr 3,1--4,3
+            ACallExpr 3,1
+              AImplicitSelfExpr 3,1
+              TId "p" 3,1
+              AListExprs 3,1
+            TKwend "end" 4,1--3
+        TKwend "end" 5,1--3
+--> ...        \e[0;31mfun\e[0m fun fun fu
+       ^: Syntax error: unexpected keyword 'fun'.
+-->    \e[0;31m%\e[0m$&^*
+       ^: Syntax error: unexpected operator '%'.
+--> 
\ No newline at end of file
index 058bf6b..6bf1705 100644 (file)
@@ -4,3 +4,4 @@
 -l ./error_syntax.nit
 ./error_syntax3.nit
 -e "var toto: Toto = new Toto.toto(toto+toto)"
+-i
diff --git a/tests/test_parser_args7.inputs b/tests/test_parser_args7.inputs
new file mode 100644 (file)
index 0000000..2bc70f5
--- /dev/null
@@ -0,0 +1,17 @@
+1
+hello world
+"hello world"
+for i in x do p
+fun foo do z
+for i in x do
+p
+end
+fun foo do
+for i in x do
+p
+end
+end
+for i in x do
+fun fun fun fu
+%$&^*
+:q