# HG changeset patch # User Paul Boddie # Date 1338676949 -7200 # Node ID e43264ed5c5d7ec130d5770f0a23158123573730 # Parent 9a62ac800aef6896693f48934dc70e399424452c Added missing operator handler. diff -r 9a62ac800aef -r e43264ed5c5d micropython/report.py --- a/micropython/report.py Fri Jun 01 01:26:30 2012 +0200 +++ b/micropython/report.py Sun Jun 03 00:42:29 2012 +0200 @@ -3,7 +3,7 @@ """ View annotated sources. -Copyright (C) 2006, 2007, 2010, 2011 Paul Boddie +Copyright (C) 2006, 2007, 2010, 2011, 2012 Paul Boddie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -1059,6 +1059,9 @@ self.dispatch(node.else_) self._span_end() + def visitInvert(self, node): + self._visitUnary(node, "invert", "~") + def visitKeyword(self, node): self._span_start("keyword-arg") self.stream.write(node.name)