This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen_perly.pl: improve action extracting
authorDavid Mitchell <davem@iabyn.com>
Wed, 10 Feb 2016 10:53:03 +0000 (10:53 +0000)
committerDavid Mitchell <davem@iabyn.com>
Thu, 11 Feb 2016 17:08:58 +0000 (17:08 +0000)
commit5996679157f48f8ada9884c32fd6bcb007f83718
tree614bc903a1c6bf828d01177751d20c7967948a39
parent95a1c52083ec4d3ba0727a0362422d8ac6192ba3
regen_perly.pl: improve action extracting

The regex was sometimes missing final cases from the big
action switch.

This simplifies the regex, but assumes that 'default: break;' is the last
case.  This is the case in bison 2.7 and 3.0.2.
regen_perly.pl