Branch: Tag:

2001-04-01

2001-04-01 15:40:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Renamed copy_type() to copy_pike_type() to avoid conflict with <mach/mach.p>.

Rev: src/builtin_functions.c:1.357
Rev: src/language.yacc:1.242
Rev: src/las.c:1.249
Rev: src/operators.c:1.134
Rev: src/pike_types.c:1.177
Rev: src/pike_types.h:1.71
Rev: src/program.c:1.308

6:   /**/   #include "global.h"   #include <math.h> - RCSID("$Id: operators.c,v 1.133 2001/03/28 15:07:39 grubba Exp $"); + RCSID("$Id: operators.c,v 1.134 2001/04/01 15:40:22 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "multiset.h"
1731:    /* a ^ b == (a&~b)|(~a&b) */    struct pike_type *a;    struct pike_type *b; -  copy_type(a, sp[-2].u.type); -  copy_type(b, sp[-1].u.type); +  copy_pike_type(a, sp[-2].u.type); +  copy_pike_type(b, sp[-1].u.type);    o_compl(); /* ~b */    o_and(); /* a&~b */    push_type_value(a);