allow spaces between lambda arrow and

parenthesis.  [ruby-dev:45605][Feature #6390]
This commit is contained in:
Yukihiro Matsumoto
2012-05-03 10:35:31 +09:00
parent 7e4c545760
commit 1032e9eecc
+1 -1
View File
@@ -3819,7 +3819,7 @@ parser_yylex(parser_state *p)
return tOP_ASGN;
}
if (c == '>') {
p->lstate = EXPR_ARG;
p->lstate = EXPR_ENDFN;
return tLAMBDA;
}
if (IS_BEG() || (IS_SPCARG(c) && arg_ambiguous(p))) {