summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-10 10:21:04 +0000
committerDavid Mitchell <davem@iabyn.com>2009-03-19 11:59:47 +0000
commit9104b4c0ea2f05e79ccc75906324fcf43559a48a (patch)
treec0a1a560653249326b616cb6795e269f15accfdd /op.h
parent0dd1a9749ac502e8f2a908316f20bb86c496ba03 (diff)
downloadperl-9104b4c0ea2f05e79ccc75906324fcf43559a48a.tar.gz
Eliminate use of Nullop in the core code. Dual life uses remain.
p4raw-id: //depot/perl@33269 (cherry-picked from commit bcabcc50f85300b3fbf720ece84c2fd14bd909ed)
Diffstat (limited to 'op.h')
-rw-r--r--op.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/op.h b/op.h
index 2df31855a9..9b9963020a 100644
--- a/op.h
+++ b/op.h
@@ -527,7 +527,9 @@ struct loop {
#define cSVOPo_sv cSVOPx_sv(o)
#define kSVOP_sv cSVOPx_sv(kid)
-#define Nullop Null(OP*)
+#ifndef PERL_CORE
+# define Nullop ((OP*)NULL)
+#endif
/* Lowest byte-and-a-bit of PL_opargs */
#define OA_MARK 1