mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Replace lvar_defined with local_var_p
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user