diff options
author | David Mitchell <davem@iabyn.com> | 2017-03-08 14:57:23 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2017-06-07 11:28:20 +0100 |
commit | 5a2060e217d73fba807a79202aa876c8b6a8888a (patch) | |
tree | 218a9674adb5db810c9d37d8ec31fbe632858355 /perly.h | |
parent | 8c5fc2b7832433c282c07796345b54bd79e334f3 (diff) | |
download | perl-5a2060e217d73fba807a79202aa876c8b6a8888a.tar.gz |
perly.y: add $$ = 0 for midrule code blocks
In places where a rule contains multiple code blocks, ensure that
$$ is assigned a valid value at the end of midrule blocks, so that
valgrind ./perl -Dpv ...
doesn't display zillions of
Conditional jump or move depends on uninitialised value
errors, when perl tries to display the parse stack.
I've only done the various newish top-level grammar entries - these all
seemed to have the same defect, while from a quick glance elsewhere in the
file, it seemed like older rules already do this.
Diffstat (limited to 'perly.h')
-rw-r--r-- | perly.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,6 +181,6 @@ int yyparse (void); /* Generated from: - * a8b5527eacb1205d15c8c01acb4a8f99b494e5b453ddd68a2a2e7fca4be3302a perly.y + * 68a62998f7c607d7a1fa0fdf2d16ec19074c256dde18dfc475daff70d378e025 perly.y * 153cba5d215c1a083a0459c43f4d55c45fd0a7093c197d7247a456dcde21ea53 regen_perly.pl * ex: set ro: */ |