Branch: Tag:

2000-06-24

2000-06-24 00:48:31 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

changed some data structures in the compiler, this should allow for
some major code cleanups

Rev: src/builtin_functions.c:1.283
Rev: src/compilation.h:1.15
Rev: src/docode.c:1.74
Rev: src/encode.c:1.60
Rev: src/language.yacc:1.191
Rev: src/las.c:1.180
Rev: src/las.h:1.39
Rev: src/modules/Gmp/mpz_glue.c:1.78
Rev: src/modules/Parser/parser.c:1.7
Rev: src/object.c:1.127
Rev: src/object.h:1.48
Rev: src/pike_types.c:1.131
Rev: src/pike_types.h:1.39
Rev: src/program.c:1.243
Rev: src/program.h:1.92
Rev: src/threads.c:1.130

1:   #include "global.h"   #include "stralloc.h"   #include "global.h" - RCSID("$Id: parser.c,v 1.6 2000/05/24 01:21:38 hubbe Exp $"); + RCSID("$Id: parser.c,v 1.7 2000/06/24 00:48:31 hubbe Exp $");   #include "pike_macros.h"   #include "interpret.h"   #include "program.h"
165:    for (i=0; i<(int)NELEM(initclass); i++)    {    start_new_program(); -  if (initclass[i].id) new_program->id = initclass[i].id; +  if (initclass[i].id) Pike_compiler->new_program->id = initclass[i].id;      #ifdef DEBUG    fprintf(stderr,"Parser: initiating class \"Parser.%s\"...\n",