Branch: Tag:

2017-01-10

2017-01-10 00:02:49 by Martin Nilsson <nilsson@fastmail.com>

isalnum doesn't recognize characters in Latin-1 supplement, so replace with is8bitalnum. This only matters for CPP prefixes.

3435:    Pike_error("No widechars allowed in cpp prefix.\n");    }    for (i = 0; i < prefix->len; i++) { -  if (!isalnum(prefix->str[i])) { +  if (!is8bitalnum(prefix->str[i])) {    Pike_error("Invalid char in prefix.\n");    }    }