From c79d007613fa174f6f5e1588ca5374f505fc44af Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sat, 1 Mar 2014 13:35:16 +0100 Subject: [PATCH] Commit 5c85b638cb45ea2b inadvertently broke the -DDEBUGGING build. The macros assert_not_ROK(sv) and assert_not_glob(sv) are intended to be used in expressions, and finish with a trailing comma, so they shouldn't have a ; after them. --- scope.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scope.c b/scope.c index 4c4f527..de90b1d 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; } -- 2.7.4