mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
The [] special method call should be able to take a block.
This commit is contained in:
@@ -4991,7 +4991,7 @@ parser_yylex(parser_state *p)
|
||||
if (c == ')')
|
||||
p->lstate = EXPR_ENDFN;
|
||||
else
|
||||
p->lstate = EXPR_ENDARG;
|
||||
p->lstate = EXPR_END;
|
||||
return c;
|
||||
|
||||
case ':':
|
||||
|
||||
Reference in New Issue
Block a user