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 bfc8cd9823..0970cc43e9 100644
--- a/parse.y
+++ b/parse.y
@@ -2624,7 +2624,7 @@ primary : literal
| keyword_not '(' rparen
{
/*%%%*/
- $$ = NEW_LIT(Qtrue);
+ $$ = call_uni_op(cond(NEW_NIL()), '!');
/*%
$$ = dispatch2(unary, ripper_intern("not"), Qnil);
%*/