diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-24 14:27:38 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-24 14:27:38 +0100 |
commit | a22f28a4268aa03ce2bafaf594271b8ff764a5f8 (patch) | |
tree | b1e06367f9bd4ebe419f79abd9f1da434a647bea /perly.y | |
parent | f4ddfa9ac388a4921f01371fb4d4285d91f92ce5 (diff) | |
download | perl-a22f28a4268aa03ce2bafaf594271b8ff764a5f8.tar.gz |
Fix building MAD with C++ - a MAD_PV of "" is illegal, as it will be free()d.
Diffstat (limited to 'perly.y')
-rw-r--r-- | perly.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -656,7 +656,7 @@ use : USE startsub token_getmad($7,$$,';'); if (PL_parser->rsfp_filters && AvFILLp(PL_parser->rsfp_filters) >= 0) - append_madprops(newMADPROP('!', MAD_PV, "", 0), $$, 0); + append_madprops(newMADPROP('!', MAD_NULL, NULL, 0), $$, 0); #else utilize(IVAL($1), $2, $4, $5, $6); $$ = (OP*)NULL; |