diff options
author | David Mitchell <davem@iabyn.com> | 2022-04-13 16:09:30 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2022-04-16 18:22:13 +0100 |
commit | 55d95e1b172db3fff30c261b7b7ea9e0bca8328a (patch) | |
tree | 09423e9618764db75913195339fb0c9a354e0068 /perly.y | |
parent | 3b90549cbb135092c637895c2277a93c609640ec (diff) | |
download | perl-55d95e1b172db3fff30c261b7b7ea9e0bca8328a.tar.gz |
Deparse: skip builtin state subs
This line
use builtin qw(foo bar);
has the compile-time effect of
state sub foo { ... }
state sub bar { ... }
(except that the subs are actually aliases of &builtin::foo and ::bar).
Previously Deparse would output both the 'use builtin' line *and* the
state sub definitions. This commit suppresses the outputting of state
subs if they're in the package builtin::.
Diffstat (limited to 'perly.y')
0 files changed, 0 insertions, 0 deletions