diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-02-25 17:10:56 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-02-25 17:10:56 +0000 |
commit | e7fec78e344a7fdea63b9a2551a3c57cc1a50f4d (patch) | |
tree | 3d20ccd10bcc02d4787a37c60d9c0527deba60c9 /op.h | |
parent | ff4091f15699664c73b1648f3e0ba5ff2c76be14 (diff) | |
download | perl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. */ |