1.1 --- a/micropython/report.py Tue May 29 23:03:44 2012 +0200
1.2 +++ b/micropython/report.py Fri Jun 01 01:26:30 2012 +0200
1.3 @@ -910,7 +910,7 @@
1.4 self._span_end()
1.5
1.6 def visitAssAttr(self, node):
1.7 - target_names = ["%s%s" % (is_static and "class " or "", target_name)
1.8 + target_names = ["%s%s" % (is_static and "static " or "", target_name)
1.9 for target_name, is_static in self.possible_accessor_types(node, defining_users=0)]
1.10 self._span_start("assattr")
1.11 self._accessor_start(target_names)
1.12 @@ -1002,7 +1002,7 @@
1.13 self._visitBinary(node, "floordiv", "//")
1.14
1.15 def visitGetattr(self, node):
1.16 - target_names = ["%s%s" % (is_static and "class " or "", target_name)
1.17 + target_names = ["%s%s" % (is_static and "static " or "", target_name)
1.18 for target_name, is_static in self.possible_accessor_types(node, defining_users=0)]
1.19 self._span_start("getattr")
1.20 self._accessor_start(target_names)
1.21 @@ -1053,9 +1053,9 @@
1.22 def visitIfExp(self, node):
1.23 self._span_start("ifexp")
1.24 self.dispatch(node.then)
1.25 - self._keyword("if")
1.26 + self._keyword("if", 1)
1.27 self.dispatch(node.test)
1.28 - self._keyword("else")
1.29 + self._keyword("else", 1)
1.30 self.dispatch(node.else_)
1.31 self._span_end()
1.32