Branch: Tag:

2000-09-26

2000-09-26 00:17:48 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

#pike 7.0 should now work

Rev: lib/7.0/modules/Calendar.pmod/Austrian.pmod:1.1
Rev: lib/7.0/modules/Calendar.pmod/Gregorian.pmod:1.1
Rev: lib/7.0/modules/Calendar.pmod/ISO.pmod:1.1
Rev: lib/7.0/modules/Calendar.pmod/Julian.pmod:1.1
Rev: lib/7.0/modules/Calendar.pmod/Orthodox.pmod:1.1
Rev: lib/7.0/modules/Calendar.pmod/Stardate.pmod:1.1
Rev: lib/7.0/modules/Calendar.pmod/Swedish.pmod:1.1
Rev: lib/7.0/modules/Calendar.pmod/module.pmod:1.1
Rev: lib/7.0/modules/Stdio.pmod/module.pmod:1.1
Rev: src/builtin_functions.c:1.312
Rev: src/compilation.h:1.21
Rev: src/cpp.c:1.76
Rev: src/language.yacc:1.213
Rev: src/lexer.h:1.21
Rev: src/preprocessor.h:1.34
Rev: src/program.c:1.273
Rev: src/program.h:1.111
Rev: src/testsuite.in:1.333

5:   \*/      /* -  * $Id: program.h,v 1.110 2000/08/31 12:28:06 grubba Exp $ +  * $Id: program.h,v 1.111 2000/09/26 00:17:47 hubbe Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
461:   char *get_line(unsigned char *pc,struct program *prog,INT32 *linep);   void my_yyerror(char *fmt,...) ATTRIBUTE((format(printf,1,2)));   struct program *compile(struct pike_string *prog, -  struct object *handler); +  struct object *handler, +  int major, +  int minor);   int pike_add_function2(char *name, void (*cfun)(INT32),    char *type, unsigned INT8 flags,    unsigned INT16 opt_flags);
501:   int is_compatible(struct program *a, struct program *b);   int yyexplain_not_implements(struct program *a, struct program *b, int flags);   void *parent_storage(int depth); + PMOD_EXPORT void change_compiler_compatibility(int major, int minor);   /* Prototypes end here */      #define ADD_FUNCTION(NAME, FUNC, TYPE, FLAGS) \
576:   #define Pike_new_program Pike_compiler->new_program       + /* Return true if compat version is equal or greater to MAJOR.MINOR */ + #define TEST_COMPAT(MAJOR,MINOR) \ +  (Pike_compiler->compat_major < (MAJOR) || \ +  (Pike_compiler->compat_major == (MAJOR) && \ +  Pike_compiler->compat_minor <= (MINOR))) +    #endif /* PROGRAM_H */      /* Kludge... */