The [] special method call should be able to take a block.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-09-25 20:44:50 +09:00
parent e98823f189
commit 381850280c
+1 -1
View File
@@ -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 ':':