Replace lvar_defined with local_var_p

This commit is contained in:
Nobuyoshi Nakada
2017-10-09 08:54:25 +09:00
parent c3c882f681
commit 1c2a2827b3
+1 -1
View File
@@ -5498,7 +5498,7 @@ parser_yylex(parser_state *p)
pylval.id = ident;
#if 0
if (last_state != EXPR_DOT && islower(tok(p)[0]) && lvar_defined(ident)) {
if (last_state != EXPR_DOT && islower(tok(p)[0]) && local_var_p(p, ident)) {
p->lstate = EXPR_END;
}
#endif