summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-06-17 13:32:29 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-06-17 13:32:59 -0700
commite36901c88394e091cda94932873a7481b91aa0af (patch)
tree36978f5d3a1d17895324b29468588a706b9702db /dist
parent4a904372e4d28940f0bcc3b8501925d58b3f0e68 (diff)
downloadperl-e36901c88394e091cda94932873a7481b91aa0af.tar.gz
Deparse CORE::break
This is something 80e3f4adf22 missed.
Diffstat (limited to 'dist')
-rw-r--r--dist/B-Deparse/Deparse.pm1
-rw-r--r--dist/B-Deparse/t/deparse.t2
2 files changed, 2 insertions, 1 deletions
diff --git a/dist/B-Deparse/Deparse.pm b/dist/B-Deparse/Deparse.pm
index b37865e60e..8c89ea3f69 100644
--- a/dist/B-Deparse/Deparse.pm
+++ b/dist/B-Deparse/Deparse.pm
@@ -1532,6 +1532,7 @@ my %feature_keywords = (
given => 'switch',
when => 'switch',
default => 'switch',
+ break => 'switch',
);
sub keyword {
diff --git a/dist/B-Deparse/t/deparse.t b/dist/B-Deparse/t/deparse.t
index 6864dae529..18ab953464 100644
--- a/dist/B-Deparse/t/deparse.t
+++ b/dist/B-Deparse/t/deparse.t
@@ -752,6 +752,6 @@ CORE::given ($x) {
continue;
}
CORE::default {
- die;
+ CORE::break;
}
}