summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-17 22:16:09 +0300
committerSteve Peters <steve@fisharerojo.org>2006-08-17 20:28:36 +0000
commita0c21aa16d2e2969e7469365a39ad48179751e84 (patch)
treea91a58eecb71088ce15c80e1d7cf743e728161b2 /op.h
parentc45598c5c02384ee183c07ababc5e058b2284e17 (diff)
downloadperl-a0c21aa16d2e2969e7469365a39ad48179751e84.tar.gz
Re: A large-ish C++ TODO (Re: [PATCH] g++ stage 1 reached)
Message-ID: <44E49649.9090307@iki.fi> p4raw-id: //depot/perl@28734
Diffstat (limited to 'op.h')
-rw-r--r--op.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/op.h b/op.h
index 8c1bffbc0e..c299c5d40f 100644
--- a/op.h
+++ b/op.h
@@ -542,8 +542,9 @@ struct loop {
#define PERL_LOADMOD_NOIMPORT 0x2
#define PERL_LOADMOD_IMPORT_OPS 0x4
-/* used in perly.y */
+#if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C)
#define ref(o, type) doref(o, type, TRUE)
+#endif
/* no longer used anywhere in core */
#ifndef PERL_CORE