Branch: Tag:

2004-07-04

2004-07-04 16:28:23 by Stephen R. van den Berg <srb@cuci.nl>

werror() -> _werror() allows overriding werror() using loadsequence reordering

Rev: lib/master.pike.in:1.355
Rev: src/builtin_functions.c:1.559
Rev: src/dumpmaster.pike:1.13
Rev: src/modules/files/efuns.c:1.145

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: builtin_functions.c,v 1.558 2004/05/20 20:13:38 grubba Exp $ + || $Id: builtin_functions.c,v 1.559 2004/07/04 16:28:23 srb Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.558 2004/05/20 20:13:38 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.559 2004/07/04 16:28:23 srb Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
7909:    tFunc(tStr tOr(tStr, tVoid) tOr(tObj, tVoid), tMix), 0);    ADD_PROTOTYPE("handle_include", tFunc(tStr tStr tInt, tStr), 0);    ADD_PROTOTYPE("handle_inherit", tFunc(tStr tStr tOr(tObj, tVoid), tPrg(tObj)), 0); +  ADD_PROTOTYPE("werror", tFunc(tStr tOr(tVoid,tMix), tVoid), OPT_SIDE_EFFECT);       /* FIXME: Are these three actually supposed to be used?    * They are called by encode.c:rec_restore_value