Merge: parser_nodes: Fix spelling mistakes
authorJean Privat <jean@pryen.org>
Tue, 6 Jun 2017 15:45:44 +0000 (11:45 -0400)
committerJean Privat <jean@pryen.org>
Tue, 6 Jun 2017 15:45:44 +0000 (11:45 -0400)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

Pull-Request: #2468
Reviewed-by: Jean Privat <jean@pryen.org>

src/parser/parser_nodes.nit

index bcbacb3..dc3b1f7 100644 (file)
@@ -22,7 +22,7 @@ private import console
 
 # Root of the AST class-hierarchy
 abstract class ANode
-       # Location is set during AST building. Once built, location cannon be null.
+       # Location is set during AST building. Once built, location can not be null.
        # However, manual instantiated nodes may need more care.
        var location: Location is writable, noinit
 
@@ -534,7 +534,7 @@ class TKwinterface
        super TokenKeyword
 end
 
-# The keywords `enum` ane `universal`
+# The keywords `enum` and `universal`
 class TKwenum
        super TokenKeyword
 end
@@ -3023,7 +3023,8 @@ abstract class AAtid
        super Prod
 
        # The identifier of the annotation.
-       # Can be a TId of a keyword
+       #
+       # Can be a TId or a keyword.
        var n_id: Token is writable, noinit
 end