summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-10 10:21:04 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-10 10:21:04 +0000
commitbcabcc50f85300b3fbf720ece84c2fd14bd909ed (patch)
treea9f7335df9d83c0b31e464510c8bbe3eab5bb0e7 /op.h
parentf7a782ffe2f8f23ef6d2e927311c879ee73b140f (diff)
downloadperl-bcabcc50f85300b3fbf720ece84c2fd14bd909ed.tar.gz
Eliminate use of Nullop in the core code. Dual life uses remain.
p4raw-id: //depot/perl@33269
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 fd0ec3432b..5c189008b8 100644
--- a/op.h
+++ b/op.h
@@ -517,7 +517,9 @@ struct loop {
#define cSVOPo_sv cSVOPx_sv(o)
#define kSVOP_sv cSVOPx_sv(kid)
-#define Nullop ((OP*)NULL)
+#ifndef PERL_CORE
+# define Nullop ((OP*)NULL)
+#endif
/* Lowest byte-and-a-bit of PL_opargs */
#define OA_MARK 1