summaryrefslogtreecommitdiff
path: root/perly.y
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2022-04-13 16:09:30 +0100
committerDavid Mitchell <davem@iabyn.com>2022-04-16 18:22:13 +0100
commit55d95e1b172db3fff30c261b7b7ea9e0bca8328a (patch)
tree09423e9618764db75913195339fb0c9a354e0068 /perly.y
parent3b90549cbb135092c637895c2277a93c609640ec (diff)
downloadperl-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