1.1 --- a/micropython/ast.py Mon Jul 21 00:24:00 2008 +0200
1.2 +++ b/micropython/ast.py Mon Jul 21 00:42:54 2008 +0200
1.3 @@ -372,7 +372,7 @@
1.4 to a temporary variable retaining the result of the last instruction.
1.5 """
1.6
1.7 - return isinstance(self.active, (LoadName, LoadTemp, LoadAddress, LoadConst))
1.8 + return isinstance(self.active, (LoadName, LoadTemp, LoadAddress, LoadConst, LoadResult))
1.9
1.10 # Optimisation methods. See the supported_optimisations class attribute.
1.11
2.1 --- a/micropython/rsvp.py Mon Jul 21 00:24:00 2008 +0200
2.2 +++ b/micropython/rsvp.py Mon Jul 21 00:42:54 2008 +0200
2.3 @@ -33,9 +33,9 @@
2.4
2.5 def name(attr):
2.6 if isinstance(attr, Attr):
2.7 - return attr.name
2.8 + return attr.name or "<unnamed>"
2.9 else:
2.10 - return attr
2.11 + return attr or "<unnamed>"
2.12
2.13 class Instruction:
2.14