diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-02 14:21:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-02 14:21:23 +0000 |
commit | 9cf2170e78dd1f6f9f7978d05d6947e6025dd61f (patch) | |
tree | d75b5a3732991b5cd9748918a6836451828fff73 /parse.y | |
parent | 6f72a6dcb5c5945bdf1727914a786451f9668b9e (diff) | |
download | ruby-9cf2170e78dd1f6f9f7978d05d6947e6025dd61f.tar.gz |
* parse.y (parser_yylex): allow spaces between lambda arrow and
parenthesis. [ruby-dev:45605][Feature #6390]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7294,7 +7294,7 @@ parser_yylex(struct parser_params *parser) return tOP_ASGN; } if (c == '>') { - lex_state = EXPR_ARG; + lex_state = EXPR_ENDFN; return tLAMBDA; } if (IS_BEG() || (IS_SPCARG(c) && arg_ambiguous())) { |