1.1 --- a/micropython/report.py Fri Jun 01 01:26:30 2012 +0200
1.2 +++ b/micropython/report.py Sun Jun 03 00:42:29 2012 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 View annotated sources.
1.6
1.7 -Copyright (C) 2006, 2007, 2010, 2011 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2006, 2007, 2010, 2011, 2012 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -1059,6 +1059,9 @@
1.13 self.dispatch(node.else_)
1.14 self._span_end()
1.15
1.16 + def visitInvert(self, node):
1.17 + self._visitUnary(node, "invert", "~")
1.18 +
1.19 def visitKeyword(self, node):
1.20 self._span_start("keyword-arg")
1.21 self.stream.write(node.name)