summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index 44000df50a..63f5e3c929 100644
--- a/parse.y
+++ b/parse.y
@@ -1174,12 +1174,12 @@ expr : command_call
$$ = dispatch3(binary, $1, ripper_intern("or"), $3);
%*/
}
- | keyword_not expr
+ | keyword_not opt_nl expr
{
/*%%%*/
- $$ = call_uni_op(cond($2), '!');
+ $$ = call_uni_op(cond($3), '!');
/*%
- $$ = dispatch2(unary, ripper_intern("not"), $2);
+ $$ = dispatch2(unary, ripper_intern("not"), $3);
%*/
}
| '!' command_call