pike.git/src/operators.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: operators.c,v 1.220 2007/04/26 17:45:44 grubba Exp $
+ || $Id: operators.c,v 1.221 2007/05/03 09:04:10 grubba Exp $
*/
#include "global.h"
#include <math.h>
#include "interpret.h"
#include "svalue.h"
#include "multiset.h"
#include "mapping.h"
#include "array.h"
#include "stralloc.h"
pike.git/src/operators.c:2029: Inside #if 0 /* Does not work for multiplication. */
struct pike_type *t;
node **arg = my_get_arg(&_CDR(n), args);
if (!arg || !(t = (*arg)->type)) continue;
if (t->type == T_STRING) {
int w = CAR_TO_INT(t);
if (w > str_width) str_width = w;
}
}
if (str_width != 32) {
type_stack_mark();
- push_string_type(str_width);
+ push_int_type(0, (1<<str_width)-1);
+ push_type(T_STRING);
free_type(n->type);
n->type = pop_unfinished_type();
}
}
#endif /* 0 */
return 0;
}
static int generate_comparison(node *n)