summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scope.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/scope.c b/scope.c
index 4c4f5274d0..de90b1d7f6 100644
--- a/scope.c
+++ b/scope.c
@@ -1095,8 +1095,11 @@ Perl_leave_scope(pTHX_ I32 base)
break;
}
default:
- assert_not_ROK(sv);
- assert_not_glob(sv);
+ /* This looks odd, but these two macros are for use in
+ expressions and finish with a trailing comma, so
+ adding a ; after them would be wrong. */
+ assert_not_ROK(sv)
+ assert_not_glob(sv)
SvFLAGS(sv) &=~ (SVf_OK|SVf_IVisUV|SVf_UTF8);
break;
}