Author: tene
Date: Wed Dec 10 15:55:38 2008
New Revision: 33784
Modified:
trunk/languages/perl6/src/parser/actions.pm
Log:
[rakudo]: Fix the ordering of multiple CATCH blocks in a block.
Modified: trunk/languages/perl6/src/parser/actions.pm
==============================================================================
--- trunk/languages/perl6/src/parser/actions.pm (original)
+++ trunk/languages/perl6/src/parser/actions.pm Wed Dec 10 15:55:38 2008
@@ -398,7 +398,7 @@
if $?BLOCK.handlers() {
@handlers := $?BLOCK.handlers();
}
- @handlers.push($eh);
+ @handlers.unshift($eh);
$?BLOCK.handlers(@handlers);
make PAST::Stmts.new();
}