X-Git-Url: http://nitlanguage.org diff --git a/contrib/pep8analysis/src/ast/rich_instructions.nit b/contrib/pep8analysis/src/ast/rich_instructions.nit index 20ddc07..947693e 100644 --- a/contrib/pep8analysis/src/ast/rich_instructions.nit +++ b/contrib/pep8analysis/src/ast/rich_instructions.nit @@ -13,7 +13,7 @@ intrude import parser import ast_base redef class AnalysisManager - redef fun build_ast(filename) + redef fun build_ast(filename, stream) do var ast = super if ast != null then @@ -143,8 +143,10 @@ abstract class ARichBinaryInstruction init from( src: ABinaryInstruction ) do _n_operand = src.n_operand _n_id = src.n_id - location = src.location parent = src.parent + + init + _location = src.location end end @@ -153,8 +155,10 @@ abstract class ARichUnaryInstruction init from( src: AUnaryInstruction ) do _n_id = src.n_id - _location = src.location parent = src.parent + + init + _location = src.location end end