micropython/common.py | raw changeset files shortlog |
1.1 --- a/micropython/common.py Sat Oct 25 21:51:23 2008 +0200 1.2 +++ b/micropython/common.py Sun Oct 26 02:14:29 2008 +0200 1.3 @@ -79,9 +79,10 @@ 1.4 1.5 def __init__(self): 1.6 self.code = [] 1.7 + self.location = None 1.8 1.9 def __repr__(self): 1.10 - return "Block(%r)" % id(self) 1.11 + return "Block(%r, location=%r)" % (id(self), self.location) 1.12 1.13 class Label: 1.14