Branch: Tag:

2004-03-17

2004-03-17 15:20:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix in BEGIN_AGGREGATE_ARRAY().

Rev: src/array.h:1.57

2:   || 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.56 2004/03/17 13:24:52 grubba Exp $ + || $Id: array.h,v 1.57 2004/03/17 15:20:35 grubba Exp $   */      #ifndef ARRAY_H
206:   #define BEGIN_AGGREGATE_ARRAY(estimated_size) do { \    struct svalue *base__; \    push_array(allocate_array_no_init(0, (estimated_size))); \ -  base__ = Pike_sp; +  base__ = Pike_sp; \ +  base__[-1].u.array->type_field = (BIT_MIXED | BIT_UNFINISHED)      #define DO_AGGREGATE_ARRAY(max_keep_on_stack) \    do { \