Branch: Tag:

2000-08-24

2000-08-24 04:04:42 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

jumbopatch, vtables and parent scopes are now working properly!

Rev: src/Makefile.in:1.207
Rev: src/backend.c:1.56
Rev: src/block_alloc.h:1.24
Rev: src/builtin_functions.c:1.300
Rev: src/compilation.h:1.20
Rev: src/docode.c:1.80
Rev: src/interpret.c:1.166
Rev: src/interpret.h:1.66
Rev: src/interpret_functions.h:1.31
Rev: src/las.c:1.192
Rev: src/main.c:1.100
Rev: src/object.c:1.145
Rev: src/program.c:1.265
Rev: src/program.h:1.105
Rev: src/testsuite.in:1.323
Rev: src/threads.c:1.139

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.191 2000/08/16 10:20:23 grubba Exp $"); + RCSID("$Id: las.c,v 1.192 2000/08/24 04:04:41 hubbe Exp $");      #include "language.h"   #include "interpret.h"
876:      node *debug_mkidentifiernode(int i)   { + #if 1 +  return mkexternalnode(Pike_compiler->new_program, i); + #else    node *res = mkemptynode();    res->token = F_IDENTIFIER;    copy_shared_string(res->type, ID_FROM_INT(Pike_compiler->new_program, i)->type);
901:       check_tree(res,0);    return res; + #endif   }      node *debug_mktrampolinenode(int i)
965:    res->u.integer.b = i;       /* Bzot-i-zot */ +  if(parent_prog != Pike_compiler->new_program)    Pike_compiler->new_program->flags |= PROGRAM_USES_PARENT;       return freeze_node(res);
1079:       case F_EXTERNAL:    { -  struct program_state *state = Pike_compiler->previous; +  struct program_state *state = Pike_compiler;       while (state && (state->new_program->id != n->u.integer.a)) {    state = state->previous;
2424:    {    int program_id = CAR(n)->u.integer.a;    int id_no = CAR(n)->u.integer.b; -  struct program_state *state = Pike_compiler->previous; +  struct program_state *state = Pike_compiler;       name="external symbol";