1
0
mirror of https://github.com/golang/go synced 2024-10-03 08:21:21 -06:00
R=ken
OCL=31149
CL=31149
This commit is contained in:
Russ Cox 2009-07-03 13:34:05 -07:00
parent 8a1bfe89b2
commit db312fa8de

View File

@ -816,7 +816,7 @@ talph:
goto l0;
}
// 0xb7 · is used for internal names
if(!isalpharune(c) && !isdigitrune(c) && c != 0xb7)
if(!isalpharune(rune) && !isdigitrune(rune) && rune != 0xb7)
yyerror("invalid identifier character 0x%ux", rune);
break;
}