pike.git / src / modules / Parser / parser.c

version» Context lines:

pike.git/src/modules/Parser/parser.c: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"   #include "program_id.h"   #include "object.h"   #include "operators.h"      #include "parser.h"      #define PARSER_INITER
pike.git/src/modules/Parser/parser.c:158:   void pike_module_init(void)   {   #ifdef PIKE_DEBUG    struct svalue *save_sp = sp;   #endif       int i;    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",    initclass[i].name);   #endif       (initclass[i].init)();    PARSER_CHECK_STACK(initclass[i].name);    initclass[i].dest[0]=end_program();    add_program_constant(initclass[i].name,initclass[i].dest[0],0);