Branch: Tag:

1999-12-27

1999-12-27 18:46:48 by Martin Stjernholm <mast@lysator.liu.se>

Should never return unfinished programs from f_compile().

Rev: src/builtin_functions.c:1.226

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.225 1999/12/22 00:26:37 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.226 1999/12/27 18:46:48 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
2154:    } else {    p = compile(sp[-args].u.string, NULL);    } + #ifdef PIKE_DEBUG +  if(!(p->flags & PROGRAM_FINISHED)) +  fatal("Got unfinished program from internal compile().\n"); + #endif    pop_n_elems(args);    push_program(p);   }