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.456 2002/11/14 14:48:54 grubba Exp $ + || $Id: program.c,v 1.457 2002/11/17 15:31:20 grubba Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.456 2002/11/14 14:48:54 grubba Exp $"); + RCSID("$Id: program.c,v 1.457 2002/11/17 15:31:20 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:968:    }    }    UNSETJMP(tmp);    }      /* fprintf(stderr,"***Undefined.\n"); */       return 0;   }    + /*! @decl constant UNDEFINED +  *! +  *! The undefined value; ie a zero for which @[zero_type()] returns 1. +  */ +    struct node_s *resolve_identifier(struct pike_string *ident);      struct node_s *find_module_identifier(struct pike_string *ident,    int see_inherit)   {    struct node_s *ret;       struct svalue *modules=(struct svalue *)    (used_modules.s.str + used_modules.s.len);   
pike.git/src/program.c:1096:    }    }    }    END_CYCLIC();    if(ret) return ret;    }       return 0;   }    + /*! @decl constant this +  *! +  *! Builtin constant that evaluates to the current object. +  *! +  *! @seealso +  *! @[this_program], @[this_object()] +  */ +  + /*! @decl constant this_program +  *! +  *! Builtin constant that evaluates to the current program. +  *! +  *! @seealso +  *! @[this], @[this_object()] +  */ +    /* If the identifier is recognized as one of the magic identifiers,    * like "this", "this_program" or "`->" when preceded by ::, then a    * suitable node is returned, NULL otherwise. inherit_num is -1 when    * accessing all inherits (i.e. when :: is used without any identifier    * before). */   struct node_s *program_magic_identifier (struct program_state *state,    int state_depth, int inherit_num,    struct pike_string *ident,    int colon_colon_ref)   {