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 | 5915e3809fd634ffb7986a71343bb071a0a8f89f (patch) | |
tree | f9c3a9a06b67bd863b22fd51253c01af964a674f /parse.y | |
parent | 5b8fe55422509b5b6c47eaa0b8ad8055e9ee6675 (diff) | |
download | ruby-5915e3809fd634ffb7986a71343bb071a0a8f89f.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); |