This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix MAD handling of package block syntax
authorZefram <zefram@fysh.org>
Sat, 22 May 2010 22:10:16 +0000 (23:10 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 23 May 2010 18:05:10 +0000 (19:05 +0100)
commit702646f25c38c963340344fc4125d616ff143857
tree71d78cd8eacb0115b0f3bfe9bbaa74254ba368be
parentebe8e111d12294e0144e3f276418ccacc4ff3fe2
fix MAD handling of package block syntax

There was a broken TOKEN_GETMAD attempting to handle the label preceding a
package-block statement, where no label is actually possible.  The correct
behaviour for no label is a no-op, so just remove the TOKEN_GETMAD.
perly.act
perly.tab
perly.y