pike.git
/
src
/
operators.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/operators.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" #include <math.h>
-
RCSID("$Id: operators.c,v 1.
74
1999/12/13 20:
18
:
00
grubba Exp $");
+
RCSID("$Id: operators.c,v 1.
75
1999/12/13 20:
44
:
15
grubba Exp $");
#include "interpret.h" #include "svalue.h" #include "multiset.h" #include "mapping.h" #include "array.h" #include "stralloc.h" #include "opcodes.h" #include "operators.h" #include "language.h" #include "pike_memory.h"
pike.git/src/operators.c:1864:
case T_INT: sp[-1].u.integer = ~ sp[-1].u.integer; break; case T_FLOAT: sp[-1].u.float_number = -1.0 - sp[-1].u.float_number; break; case T_TYPE: type_stack_mark();
-
push_unfinished_type(sp[-1].u.string);
+
push_unfinished_type(sp[-1].u.string
->str
);
push_type(T_NOT); pop_stack(); push_string(pop_unfinished_type()); sp[-1].type = T_TYPE; break; case T_STRING: { struct pike_string *s; INT32 len, i;