summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-02-25 17:10:56 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-02-25 17:10:56 +0000
commite7fec78e344a7fdea63b9a2551a3c57cc1a50f4d (patch)
tree3d20ccd10bcc02d4787a37c60d9c0527deba60c9 /op.h
parentff4091f15699664c73b1648f3e0ba5ff2c76be14 (diff)
downloadperl-e7fec78e344a7fdea63b9a2551a3c57cc1a50f4d.tar.gz
stop "const in void context" warning for a const in an
optimised-away boolean expresssion, eg 5 || print; p4raw-id: //depot/perl@22376
Diffstat (limited to 'op.h')
-rw-r--r--op.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.h b/op.h
index 889b3ea04f..116bcd3d51 100644
--- a/op.h
+++ b/op.h
@@ -181,6 +181,7 @@ Deprecated. Use C<GIMME_V> instead.
#define OPpTARGET_MY 16 /* Target is PADMY. */
/* Private for OP_CONST */
+#define OPpCONST_SHORTCIRCUIT 4 /* eg the constant 5 in (5 || foo) */
#define OPpCONST_STRICT 8 /* bearword subject to strict 'subs' */
#define OPpCONST_ENTERED 16 /* Has been entered as symbol. */
#define OPpCONST_ARYBASE 32 /* Was a $[ translated to constant. */