pike.git
/
src
/
docode.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/docode.c:1:
/*\ ||| This file a part of Pike, and is copyright by Fredrik Hubinette ||| Pike is distributed as GPL (General Public License) ||| See the files COPYING and DISCLAIMER for more information. \*/ /**/ #include "global.h"
-
RCSID("$Id: docode.c,v 1.
59
1999/12/
12
19
:
48
:
38
grubba Exp $");
+
RCSID("$Id: docode.c,v 1.
60
1999/12/
13
01
:
21
:
13
grubba Exp $");
#include "las.h" #include "program.h" #include "language.h" #include "pike_types.h" #include "stralloc.h" #include "interpret.h" #include "constants.h" #include "array.h" #include "pike_macros.h" #include "error.h"
pike.git/src/docode.c:699:
emit(F_STRING,tmp1); tmp1=do_docode(CAR(n),0); if(!tmp1) { emit2(F_CONST0); tmp1=1; } if(tmp1>1) do_pop(tmp1-1); emit2(F_CAST); return 1; case F_SOFT_CAST:
-
/* FIXME: Should probably be some other flag */
-
if (
d
_
flag
) {
+
if (
runtime
_
options & RUNTIME_CHECK_TYPES
) {
tmp1 = store_prog_string(n->type); emit(F_STRING, tmp1); tmp1 = do_docode(CAR(n), 0); if (!tmp1) { emit2(F_CONST0); tmp1 = 1; } if (tmp1 > 1) do_pop(tmp1 - 1); emit2(F_SOFT_CAST); return 1; } tmp1 = do_docode(CAR(n), flags); if (tmp1 > 1) do_pop(tmp1 - 1);