pike.git
/
src
/
docode.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/docode.c:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: docode.c,v 1.
171
2003/
09
/
19
13
:
42
:
37
grubba
Exp $
+
|| $Id: docode.c,v 1.
172
2003/
11
/
07
21
:
29
:
47
mast
Exp $
*/ #include "global.h"
-
RCSID("$Id: docode.c,v 1.
171
2003/
09
/
19
13
:
42
:
37
grubba
Exp $");
+
RCSID("$Id: docode.c,v 1.
172
2003/
11
/
07
21
:
29
:
47
mast
Exp $");
#include "las.h" #include "program.h" #include "pike_types.h" #include "stralloc.h" #include "interpret.h" #include "constants.h" #include "array.h" #include "pike_macros.h" #include "pike_error.h" #include "pike_memory.h"
pike.git/src/docode.c:1277:
BLOCK_BEGIN; if(CAR(arr) && CAR(arr)->token==F_RANGE) { node **a1=my_get_arg(&_CAR(arr),0); node **a2=my_get_arg(&_CAR(arr),1); if(a1 && a2 && a2[0]->token==F_CONSTANT && a2[0]->u.sval.type==T_INT &&
-
a2[0]->u.sval.u.integer==
0x7fffffff
&&
+
a2[0]->u.sval.u.integer==
MAX_INT_TYPE
&&
a1[0]->type == int_type_string) { /* Optimize foreach(x[start..],y). */ do_docode(CAR(arr),DO_NOT_COPY_TOPLEVEL); do_docode(*a1,DO_NOT_COPY); goto foreach_arg_pushed; } } do_docode(CAR(n),DO_NOT_COPY); emit0(F_CONST0);