diff --git a/src/cmd/gc/lex.c b/src/cmd/gc/lex.c index 586dc47d56..187b8cc264 100644 --- a/src/cmd/gc/lex.c +++ b/src/cmd/gc/lex.c @@ -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; }