File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1974,7 +1974,7 @@ class Lexer
1974
1974
t.postfix = * p;
1975
1975
p++ ;
1976
1976
// disallow e.g. `@r"_"dtype var;`
1977
- if (! Ccompile && ( isalpha(* p) || * p & 0x80 ))
1977
+ if (! Ccompile && isalpha(* p))
1978
1978
{
1979
1979
const loc = loc();
1980
1980
error(loc, " identifier character cannot follow string `%c` postfix without whitespace" ,
@@ -2212,7 +2212,7 @@ LIntegerSuffix:
2212
2212
break ;
2213
2213
default :
2214
2214
// disallow e.g. `Foo!5Luvar;`
2215
- if (! Ccompile && flags >= FLAGS .unsigned && ( isalpha(* p) || * p & 0x80 ))
2215
+ if (! Ccompile && flags >= FLAGS .unsigned && isalpha(* p))
2216
2216
{
2217
2217
const loc = loc();
2218
2218
error(loc, " identifier character cannot follow integer `%c` suffix without whitespace" ,
@@ -2641,7 +2641,7 @@ LcheckI:
2641
2641
gotSuffix = true ;
2642
2642
}
2643
2643
// disallow e.g. `Foo!5fvar;`
2644
- if (! Ccompile && gotSuffix && ( isalpha(* p) || * p & 0x80 ))
2644
+ if (! Ccompile && gotSuffix && isalpha(* p))
2645
2645
{
2646
2646
const loc = loc();
2647
2647
error(loc, " identifier character cannot follow float `%c` suffix without whitespace" ,
You can’t perform that action at this time.
0 commit comments