Branch: Tag:

2001-03-20

2001-03-20 02:45:51 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

second step towards two-pass compilation over several files..

Rev: lib/master.pike.in:1.148
Rev: src/builtin.cmod:1.24
Rev: src/builtin_functions.c:1.355
Rev: src/object.c:1.164
Rev: src/object.h:1.58
Rev: src/program.c:1.304
Rev: src/program.h:1.120

5:   \*/      /* -  * $Id: program.h,v 1.119 2001/03/12 23:46:22 hubbe Exp $ +  * $Id: program.h,v 1.120 2001/03/20 02:45:51 hubbe Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
216:   };       +    /* program parts have been realloced into one block */   #define PROGRAM_OPTIMIZED 1   
254:   /* Program is in an inconsistant state */   #define PROGRAM_AVOID_CHECK 512    + /* Program has not yet been used for compilation */ + #define PROGRAM_VIRGIN 1024 +    enum pike_program_event   {    PROG_EVENT_INIT =0,
475:   struct program *compile(struct pike_string *prog,    struct object *handler,    int major, -  int minor); +  int minor, +  struct program *target, +  struct object *placeholder);   PMOD_EXPORT int pike_add_function2(char *name, void (*cfun)(INT32),    char *type, unsigned INT8 flags,    unsigned INT16 opt_flags);