Branch: Tag:

2008-05-30

2008-05-30 15:19:03 by Martin Stjernholm <mast@lysator.liu.se>

Make use of the new svalue init macros and global constant svalues for 0 and 1.

Rev: src/array.c:1.209
Rev: src/bignum.c:1.45
Rev: src/builtin_functions.c:1.669
Rev: src/code/ia32.c:1.48
Rev: src/encode.c:1.275
Rev: src/error.c:1.163
Rev: src/multiset.c:1.113
Rev: src/multiset.h:1.46
Rev: src/svalue.c:1.242

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: error.c,v 1.162 2008/05/27 19:36:00 grubba Exp $ + || $Id: error.c,v 1.163 2008/05/30 15:19:03 mast Exp $   */      #define NO_PIKE_SHORTHAND
235:    f_aggregate(2);   }    - PMOD_EXPORT struct svalue throw_value = { -  PIKE_T_INT, NUMBER_NUMBER, - #ifdef HAVE_UNION_INIT -  {0}, /* Only to avoid warnings. */ - #endif - }; + PMOD_EXPORT struct svalue throw_value = SVALUE_INIT_FREE;   int throw_severity;   static const char *in_error;