2007-05-03
2007-05-03 09:04:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
7a1c05453234f852c9b1a43981dc9b26bd49978f
(6 lines)
(+4/-2)
[
Show
| Annotate
]
Branch: 7.9
push_string_type is no more.
Rev: src/modules/sprintf/sprintf.c:1.145
Rev: src/operators.c:1.221
2:
|| 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"
2036: Inside #if 0 /* Does not work for multiplication. */
}
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();
}