1.1 --- a/micropython/ast.py Fri Jun 22 00:11:51 2012 +0200
1.2 +++ b/micropython/ast.py Tue Jun 26 23:38:46 2012 +0200
1.3 @@ -173,23 +173,24 @@
1.4
1.5 # Binary operators.
1.6
1.7 - visitAdd = Helper._visitBinary
1.8 - visitBitand = Helper._visitBinaryBit
1.9 - visitBitor = Helper._visitBinaryBit
1.10 + visitBitand = \
1.11 + visitBitor = \
1.12 visitBitxor = Helper._visitBinaryBit
1.13 - visitDiv = Helper._visitBinary
1.14 - visitFloorDiv = Helper._visitBinary
1.15 - visitLeftShift = Helper._visitBinary
1.16 - visitMod = Helper._visitBinary
1.17 - visitMul = Helper._visitBinary
1.18 - visitPower = Helper._visitBinary
1.19 - visitRightShift = Helper._visitBinary
1.20 +
1.21 + visitAdd = \
1.22 + visitDiv = \
1.23 + visitFloorDiv = \
1.24 + visitLeftShift = \
1.25 + visitMod = \
1.26 + visitMul = \
1.27 + visitPower = \
1.28 + visitRightShift = \
1.29 visitSub = Helper._visitBinary
1.30
1.31 # Unary operators.
1.32
1.33 - visitInvert = Helper._visitUnary
1.34 - visitUnaryAdd = Helper._visitUnary
1.35 + visitInvert = \
1.36 + visitUnaryAdd = \
1.37 visitUnarySub = Helper._visitUnary
1.38
1.39 # Logical operators.
2.1 --- a/micropython/report.py Fri Jun 22 00:11:51 2012 +0200
2.2 +++ b/micropython/report.py Tue Jun 26 23:38:46 2012 +0200
2.3 @@ -305,6 +305,7 @@
2.4 self._name_link("operator", "operator.%s" % name, name)
2.5 self.stream.write("</div>\n")
2.6 self._popup_end()
2.7 + # NOTE: Handle "is" and "in".
2.8 self._span_end()
2.9 if trailing:
2.10 self.stream.write(" ")