parser: specialize error tokens
[nit.git] / src / parser / parser_nodes.nit
index 775c120..17f8558 100644 (file)
@@ -386,6 +386,14 @@ class AError
        super EOF
 private init noinit do end
 end
+class ALexerError
+       super AError
+private init noinit do end
+end
+class AParserError
+       super AError
+private init noinit do end
+end
 
 class AModule
        super Prod