diff options
author | David Mitchell <davem@iabyn.com> | 2018-03-06 15:24:38 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2018-03-06 15:30:28 +0000 |
commit | 49ea76a70e8a4984b7d555bfbac872c0624b858c (patch) | |
tree | 1f0d77017f3bca3bff931ca121c2470b3a3c7ec4 /regexp.h | |
parent | 3f515a2edaad4fe95e69a30dcc8823e4d7353d43 (diff) | |
download | perl-49ea76a70e8a4984b7d555bfbac872c0624b858c.tar.gz |
op_dump(): display op_next to self as [SELF]
Normally op_next (and similar) fields of an op are displayed with the
address and basic details of the op they point to, e.g.
5 gvsv PADOP(0x1b7ac48) ===> 5 [sassign 0x1b7ab80]
This commit enhances that so that if the field points back to the op
containing the field (as is often the case during the early phases of
building an op tree), instead display it as just:
5 gvsv PADOP(0x1b7ac48) ===> [SELF]
Diffstat (limited to 'regexp.h')
0 files changed, 0 insertions, 0 deletions