1.1 --- a/templates/progops.c Sat Feb 11 16:04:40 2017 +0100
1.2 +++ b/templates/progops.c Sat Feb 11 23:15:21 2017 +0100
1.3 @@ -33,7 +33,7 @@
1.4 __attr self = {.context=obj, .value=obj};
1.5 __attr tmp = {.context=0, .value=cls};
1.6 obj->table = table;
1.7 - __store_via_object(obj, __pos___class__, tmp);
1.8 + __store_via_object(obj, __ATTRPOS(__class__), tmp);
1.9 return self;
1.10 }
1.11
1.12 @@ -69,7 +69,7 @@
1.13
1.14 /* Store a reference to the data in the object's __data__ attribute. */
1.15
1.16 - __store_via_object(args[0].value, __pos___data__, attr);
1.17 + __store_via_object(args[0].value, __ATTRPOS(__data__), attr);
1.18 }
1.19
1.20 #ifdef __HAVE___builtins___dict_dict
1.21 @@ -183,7 +183,7 @@
1.22 {
1.23 /* Obtain the __args__ special member, referencing the parameter table. */
1.24
1.25 - __attr minparams = __check_and_load_via_object(callable.value, __pos___args__, __code___args__);
1.26 + __attr minparams = __check_and_load_via_object(callable.value, __ATTRPOS(__args__), __ATTRCODE(__args__));
1.27
1.28 /* Refer to the table and minimum/maximum. */
1.29