pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
1999-12-27
1999-12-27 18:46:48 by Martin Stjernholm <mast@lysator.liu.se>
1aceca872e162184024305b08503491ba1661a2c (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
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); }