1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

parse.y: one warning, one line [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-12-15 06:22:09 +00:00
parent 836794f206
commit b53456731e

View file

@ -8526,8 +8526,8 @@ parser_yylex(struct parser_params *parser)
c = tLPAREN_ARG;
}
else if (IS_lex_state(EXPR_ENDFN) && space_seen && !lambda_beginning_p()) {
rb_warning0("parentheses after method name is interpreted as");
rb_warning0("an argument list, not a decomposed argument");
rb_warning0("parentheses after method name is interpreted as "
"an argument list, not a decomposed argument");
}
paren_nest++;
COND_PUSH(0);