PHP: support non-ASCII characters in identifiers
http://www.php.net/manual/en/language.variables.basics.php
This commit is contained in:
parent
38c5616200
commit
77c45aa82b
@ -492,7 +492,7 @@ static void addToScope (tokenInfo *const token, const vString *const extra)
|
||||
|
||||
static boolean isIdentChar (const int c)
|
||||
{
|
||||
return (isalnum (c) || c == '_');
|
||||
return (isalnum (c) || c == '_' || c & 0x80);
|
||||
}
|
||||
|
||||
static int skipToCharacter (const int c)
|
||||
|
Loading…
x
Reference in New Issue
Block a user