summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
Diffstat (limited to 'op.h')
-rw-r--r--op.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/op.h b/op.h
index fa1230d544..63390ea196 100644
--- a/op.h
+++ b/op.h
@@ -70,10 +70,7 @@
((op)->op_flags & OPf_WANT) == OPf_WANT_LIST ? G_ARRAY : \
dfl)
-#define OP_GIMME_REVERSE(flags) \
- ((flags & G_VOID) ? OPf_WANT_VOID : \
- (flags & G_ARRAY) ? OPf_WANT_LIST : \
- OPf_WANT_SCALAR)
+#define OP_GIMME_REVERSE(flags) ((flags) & G_WANT)
/*
=head1 "Gimme" Values