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 @@ -1973,7 +1973,7 @@ class Lexer
1973
1973
t.postfix = * p;
1974
1974
p++ ;
1975
1975
// disallow e.g. `@r"_"dtype var;`
1976
- if (! Ccompile && ( isalpha(* p) || * p & 0x80 ))
1976
+ if (! Ccompile && isalpha(* p))
1977
1977
{
1978
1978
const loc = loc();
1979
1979
error(loc, " identifier character cannot follow string `%c` postfix without whitespace" ,
@@ -2211,7 +2211,7 @@ LIntegerSuffix:
2211
2211
break ;
2212
2212
default :
2213
2213
// disallow e.g. `Foo!5Luvar;`
2214
- if (! Ccompile && flags >= FLAGS .unsigned && ( isalpha(* p) || * p & 0x80 ))
2214
+ if (! Ccompile && flags >= FLAGS .unsigned && isalpha(* p))
2215
2215
{
2216
2216
const loc = loc();
2217
2217
error(loc, " identifier character cannot follow integer `%c` suffix without whitespace" ,
@@ -2640,7 +2640,7 @@ LcheckI:
2640
2640
gotSuffix = true ;
2641
2641
}
2642
2642
// disallow e.g. `Foo!5fvar;`
2643
- if (! Ccompile && gotSuffix && ( isalpha(* p) || * p & 0x80 ))
2643
+ if (! Ccompile && gotSuffix && isalpha(* p))
2644
2644
{
2645
2645
const loc = loc();
2646
2646
error(loc, " identifier character cannot follow float `%c` suffix without whitespace" ,
You can’t perform that action at this time.
0 commit comments