summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 29e9ce0555..847e13e4da 100644
--- a/parse.y
+++ b/parse.y
@@ -5286,7 +5286,7 @@ block_call : command do_block
| block_call call_op2 operation2 opt_paren_args brace_block
{
bool has_args = $5 != 0;
- if (NODE_EMPTY_ARGS_P($5)) $5 = 0;
+ if (NODE_EMPTY_ARGS_P($4)) $4 = 0;
$$ = new_command_qcall(p, $2, $1, $3, $4, $5, &@3, &@$);
/*% ripper: command_call!($:1, $:2, $:3, $:4) %*/
if (has_args) {