pike.git / src / pike_compiler.h

version» Context lines:

pike.git/src/pike_compiler.h:37:    * that this one depends on. When it gets unlinked from that list,    * this becomes a back pointer for the dependants linked list    * below. */       struct Supporter *dependants, *next_dependant;    /* dependants points to a linked list of supporters that depends on    * this one, and next_dependant makes up the links between those    * supporters. A supporter is linked onto this list when it is    * unlinked from the current_supporter list. */    -  struct object *self; +  struct svalue self; +  /* CompilerEnvironment object for this supporter. +  * NB: NOT reference counted! +  * NB: Subtyped to the CompilerEnvironment inherit. +  */ +     supporter_callback *fun;    void *data;       struct program *prog;    /* The top level program in the compilation unit. */   };      struct compilation   {    struct Supporter supporter;    struct pike_string *prog; /* String to compile. */    struct object *handler; /* error_handler */    struct object *compat_handler; /* compat_handler */    int major, minor; /* Base compat version */    struct program *target; /* Program being compiled. */    struct object *placeholder;    int flags;       struct program *p; /* Compiled program or NULL. */    struct lex lex; -  int compilation_inherit; /* Inherit in supporter->self containing -  * compilation_program. */ +        struct svalue default_module; /* predef:: */    struct byte_buffer used_modules; /* Stack of svalues with imported    * modules. */    INT32 num_used_modules; /* Number of entries on the stack. */       int compilation_depth; /* Current class nesting depth. */      #ifdef PIKE_THREADS    int saved_lock_depth;