1.1 --- a/templates/native/unicode.c Sun Feb 26 21:47:56 2017 +0100
1.2 +++ b/templates/native/unicode.c Mon Feb 27 00:55:52 2017 +0100
1.3 @@ -135,11 +135,11 @@
1.4 /* _size interpreted as int */
1.5 int ss = _size->intvalue;
1.6 /* start.__data__ interpreted as int */
1.7 - int istart = __load_via_object(start->value, __pos___data__).intvalue;
1.8 + int istart = __load_via_object(start->value, __ATTRPOS(__data__)).intvalue;
1.9 /* end.__data__ interpreted as int */
1.10 - int iend = __load_via_object(end->value, __pos___data__).intvalue;
1.11 + int iend = __load_via_object(end->value, __ATTRPOS(__data__)).intvalue;
1.12 /* step.__data__ interpreted as int */
1.13 - int istep = __load_via_object(step->value, __pos___data__).intvalue;
1.14 + int istep = __load_via_object(step->value, __ATTRPOS(__data__)).intvalue;
1.15
1.16 /* Calculate the number of characters. */
1.17 size_t nchar = ((iend - istart - (istep > 0 ? 1 : -1)) / istep) + 1;