]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Fix debugger compatibility with perl 5.17.1 and above
authorVincent Pit <vince@profvince.com>
Sun, 16 Sep 2012 20:48:34 +0000 (22:48 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 16 Sep 2012 20:50:47 +0000 (22:50 +0200)
Upper.xs

index 10b7964481a0022c8f38494b12c7e9f91fda9d80..3de19a9b6e5c04726e706fd1eda47d405c9a15a3 100644 (file)
--- a/Upper.xs
+++ b/Upper.xs
@@ -1977,6 +1977,9 @@ STATIC I32 su_context_skip_db(pTHX_ I32 cxix) {
   PERL_CONTEXT *cx = cxstack + i;
 
   switch (CxTYPE(cx)) {
+#if SU_HAS_PERL(5, 17, 1)
+   case CXt_LOOP_PLAIN:
+#endif
    case CXt_BLOCK:
     if (cx->blk_oldcop && CopSTASH(cx->blk_oldcop) == GvSTASH(PL_DBgv))
      continue;