Branch: Tag:

2016-12-17

2016-12-17 13:56:45 by Martin Nilsson <nilsson@fastmail.com>

Identifiers can no longer contain non-ascii whitespaces. wide_isidchar can now also easily be upgraded to disallow other special characters.

1248:    }    } else if (id->name && (id->name->len>1) &&    (index_shared_string(id->name, 0) == '`') && -  ((((unsigned)index_shared_string(id->name, 1)) >= -  256) || -  isidchar(index_shared_string(id->name, 1)))) { +  wide_isidchar(index_shared_string(id->name, 1))) {    /* New-style getter/setter. */    struct pike_string *symbol = NULL;    if (index_shared_string(id->name, id->name->len-1) != '=') {