X-Git-Url: http://nitlanguage.org diff --git a/contrib/pep8analysis/src/parser/lexer.nit b/contrib/pep8analysis/src/parser/lexer.nit index 718ee98..f985cf7 100644 --- a/contrib/pep8analysis/src/parser/lexer.nit +++ b/contrib/pep8analysis/src/parser/lexer.nit @@ -1,6 +1,6 @@ # Lexer and its tokens. # This file was generated by SableCC (http://www.sablecc.org/). -module lexer is no_warning("missing-doc", "old-init") +module lexer is generated, no_warning("missing-doc", "old-init") intrude import parser_nodes private import tables @@ -255,7 +255,7 @@ redef class AError init init_error(message: String, loc: Location) do - init(loc) + self.location = loc self.message = message end end