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:
parent
836794f206
commit
b53456731e
1 changed files with 2 additions and 2 deletions
4
parse.y
4
parse.y
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue