parser: suppr `noinit`
[nit.git] / src / parser / xss / lexer.xss
index 577c592..e8961ca 100644 (file)
@@ -194,7 +194,7 @@ $ end foreach
                                                var token = new PLexerError.init_lexer_error("Syntax error: unknown token {text}.", location, text)
                                                return token
                                        else
-                                               var token = new EOF(location)
+                                               var token = new EOF.init_tk(location)
                                                return token
                                        end
                                end