diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-24 07:52:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-24 07:52:41 +0000 |
commit | f852ce8969fc93f8330b25ac49a45b47d83805d6 (patch) | |
tree | f8e70ebac48fc680b5aa3f00bb451541cd3a98f2 | |
parent | 48a9947a2f0bd22880c0b587fd869b18f32909b1 (diff) | |
download | ruby-f852ce8969fc93f8330b25ac49a45b47d83805d6.tar.gz |
parse.y (parser_yylex): remove wrong warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | parse.y | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -8536,10 +8536,6 @@ parser_yylex(struct parser_params *parser) } else if (IS_SPCARG(-1)) { c = tLPAREN_ARG; - if (lex_state == EXPR_ARG) { - rb_warning0("parentheses after method name and a space is interpreted as " - "an argument list, not a parenthesed argument"); - } } else if (IS_lex_state(EXPR_ENDFN) && space_seen && !lambda_beginning_p()) { rb_warning0("parentheses after method name is interpreted as " |