summaryrefslogtreecommitdiff
path: root/perly.act
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-24 14:27:38 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-24 14:27:38 +0100
commita22f28a4268aa03ce2bafaf594271b8ff764a5f8 (patch)
treeb1e06367f9bd4ebe419f79abd9f1da434a647bea /perly.act
parentf4ddfa9ac388a4921f01371fb4d4285d91f92ce5 (diff)
downloadperl-a22f28a4268aa03ce2bafaf594271b8ff764a5f8.tar.gz
Fix building MAD with C++ - a MAD_PV of "" is illegal, as it will be free()d.
Diffstat (limited to 'perly.act')
-rw-r--r--perly.act2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.act b/perly.act
index 864fd61699..8745ab6952 100644
--- a/perly.act
+++ b/perly.act
@@ -630,7 +630,7 @@ case 2:
token_getmad((ps[(7) - (7)].val.i_tkval),(yyval.opval),';');
if (PL_parser->rsfp_filters &&
AvFILLp(PL_parser->rsfp_filters) >= 0)
- append_madprops(newMADPROP('!', MAD_PV, "", 0), (yyval.opval), 0);
+ append_madprops(newMADPROP('!', MAD_NULL, NULL, 0), (yyval.opval), 0);
#else
utilize(IVAL((ps[(1) - (7)].val.i_tkval)), (ps[(2) - (7)].val.ival), (ps[(4) - (7)].val.opval), (ps[(5) - (7)].val.opval), (ps[(6) - (7)].val.opval));
(yyval.opval) = (OP*)NULL;