From 986e6e819dc7e74e5f5bc598da4fb25d14399cdf Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Fri, 4 Jul 2008 18:06:19 +0200
Subject: [PATCH] Oops..

Rev: src/array.h:1.78
---
 src/array.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/array.h b/src/array.h
index d356cd733c..2d477e84b1 100644
--- a/src/array.h
+++ b/src/array.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: array.h,v 1.77 2008/07/04 15:53:14 mast Exp $
+|| $Id: array.h,v 1.78 2008/07/04 16:06:19 mast Exp $
 */
 
 #ifndef ARRAY_H
@@ -258,9 +258,6 @@ PMOD_EXPORT struct array *implode_array(struct array *a, struct array *b);
   } while (0)
 
 #define END_AGGREGATE_ARRAY						\
-  DO_IF_DEBUG(if (Pike_sp[-1].type != T_ARRAY) {			\
-		Pike_fatal("Lost track of aggregated array.\n");	\
-	      });							\
   {									\
     ptrdiff_t diff__ = Pike_sp - base__;				\
     if (!diff__) {							\
@@ -274,6 +271,9 @@ PMOD_EXPORT struct array *implode_array(struct array *a, struct array *b);
     if (base__[-1].u.array->type_field & BIT_UNFINISHED)		\
       array_fix_type_field(Pike_sp[-1].u.array);			\
   }									\
+  DO_IF_DEBUG(if (Pike_sp[-1].type != T_ARRAY) {			\
+		Pike_fatal("Lost track of aggregated array.\n");	\
+	      });							\
 } while (0)
 
 
-- 
GitLab