pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1:   /*   || 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: program.c,v 1.480 2003/02/12 23:59:17 mast Exp $ + || $Id: program.c,v 1.481 2003/02/15 16:02:05 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.480 2003/02/12 23:59:17 mast Exp $"); + RCSID("$Id: program.c,v 1.481 2003/02/15 16:02:05 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "language.h"   #include "lex.h"   #include "pike_macros.h"   #include "fsort.h"
pike.git/src/program.c:6341:    low_add_constant("__null_program",&s);    debug_malloc_touch(null_program);    }       {    struct svalue s;    start_new_program();    add_function("`()",placeholder_index,"function(mixed...:object)",0);    add_function("`[]",placeholder_index,"function(mixed:object)",0);    placeholder_program=end_program(); -  placeholder_object=fast_clone_object(placeholder_program,0); +  placeholder_object=fast_clone_object(placeholder_program);       s.type=T_OBJECT;    s.u.object=placeholder_object;    low_add_constant("__placeholder_object",&s);    debug_malloc_touch(placeholder_object);    }   }      void cleanup_program(void)   {