summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
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 f6c6311efa..4aa8035f64 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