1.1 --- a/micropython/rsvp.py Mon Mar 05 00:25:11 2012 +0100
1.2 +++ b/micropython/rsvp.py Sun Mar 11 01:49:53 2012 +0100
1.3 @@ -93,7 +93,7 @@
1.4 def as_raw(self, objtable, paramtable, with_builtins):
1.5 item = self.item
1.6 classcode = objtable.as_list().get_code(item.full_name())
1.7 - attrcode = objtable.get_index(item.full_name())
1.8 + attrcode = objtable.get_index("#" + item.full_name())
1.9
1.10 # Include a template of an instance for use when instantiating classes.
1.11
1.12 @@ -158,7 +158,7 @@
1.13 # Generate the footprint of the constant.
1.14
1.15 classcode = objtable.as_list().get_code(type_name)
1.16 - attrcode = objtable.get_index(type_name)
1.17 + attrcode = objtable.get_index("#" + type_name)
1.18
1.19 return [
1.20 DataObject(