This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
put package declaration before label in deparsing
authorZefram <zefram@fysh.org>
Thu, 29 Apr 2010 23:02:06 +0000 (00:02 +0100)
committerDavid Golden <dagolden@cpan.org>
Thu, 29 Apr 2010 23:41:10 +0000 (19:41 -0400)
commit98a1a1376eb18f3329f6d272d4dc3e9a7780689f
treefe005b7153c0b0493705cff2633fe5347b0289c6
parenta9201296457bbaf65a658e2c85755eee4c36439a
put package declaration before label in deparsing

When deparsing a nextstate op that has both a change of package (relative
to the previous nextstate) and a label, the package declaration must be
emitted first, because it is syntactically impermissible for a label to
prefix a package declaration.
dist/B-Deparse/Deparse.pm
dist/B-Deparse/t/deparse.t