summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-04 16:28:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-04 16:28:11 +0000
commit308f4f2df26a98f2f1e0801894c53f92dbe5fb9f (patch)
treebac19bd7f12c2ad000276d0af05907f0b08eabc7 /parse.y
parent35c9feaeb72c1bf6c8642d05e9b0974649d12651 (diff)
* parse.y (call_args): remove "parenthesize argument(s) for future
version" warning. when I added this warning, I had a plan to reimplement the parser that is simpler than the current one. since we abandoned the plan, warning no longer required. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 0 insertions, 4 deletions
diff --git a/parse.y b/parse.y
index f6c6311..4aa8035 100644
--- a/parse.y
+++ b/parse.y
@@ -1245,7 +1245,6 @@ arg_value : arg
aref_args : none
| command opt_nl
{
- rb_warn("parenthesize argument(s) for future version");
$$ = NEW_LIST($1);
}
| args trailer
@@ -1278,12 +1277,10 @@ paren_args : '(' none ')'
}
| '(' block_call opt_nl ')'
{
- rb_warn("parenthesize argument for future version");
$$ = NEW_LIST($2);
}
| '(' args ',' block_call opt_nl ')'
{
- rb_warn("parenthesize argument for future version");
$$ = list_append($2, $4);
}
;
@@ -1294,7 +1291,6 @@ opt_paren_args : none
call_args : command
{
- rb_warn("parenthesize argument(s) for future version");
$$ = NEW_LIST($1);
}
| args opt_block_arg