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.479 2003/02/08 03:49:22 mast Exp $ + || $Id: program.c,v 1.480 2003/02/12 23:59:17 mast Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.479 2003/02/08 03:49:22 mast Exp $"); + RCSID("$Id: program.c,v 1.480 2003/02/12 23:59:17 mast 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:3799:   #endif    case T_FUNCTION:    case T_PROGRAM:    run_time_type = T_MIXED;    }       n=low_define_variable(name,type,flags,    low_add_storage(sizeof_variable(run_time_type),    alignof_variable(run_time_type),0),    run_time_type); +  ID_FROM_INT(Pike_compiler->new_program, n)->identifier_flags |= IDENTIFIER_NO_THIS_REF;    -  +     return n;   }      PMOD_EXPORT int simple_add_variable(const char *name,    const char *type,    INT32 flags)   {    INT32 ret;    struct pike_string *name_s;    struct pike_type *type_s;