diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-19 00:22:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-19 00:22:56 +0000 |
commit | 50f7d64f415aa2fa5767749e1076965308dfca05 (patch) | |
tree | f9c3a9a06b67bd863b22fd51253c01af964a674f /parse.y | |
parent | 698f2db2240c81a21b9cad56d46fbc1ea02c7042 (diff) | |
download | ruby-50f7d64f415aa2fa5767749e1076965308dfca05.tar.gz |
parse.y: lex by lvar
* parse.y (parse_ident): disable tLPAREN_ARG state by local
variable. [ruby-list:50578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8468,7 +8468,7 @@ parser_yylex(struct parser_params *parser) "an argument list, not a decomposed argument"); } else if (lex_state == (EXPR_END|EXPR_LABEL) && space_seen) { - rb_warning0("don't put space before argument parentheses"); + c = tLPAREN_ARG; } paren_nest++; COND_PUSH(0); |