Replace lvar_defined with local_var_p
MODIFY
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
@@ -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

Replace lvar_defined with local_var_p