2002-05-10
2002-05-10 23:59:27 by Martin Nilsson <mani@lysator.liu.se>
-
9b150a92a73694f9a16a57f8b349cadaaaaaf17a
(13 lines)
(+7/-6)
[
Show
| Annotate
]
Branch: 7.9
sp -> Pike_sp
Rev: src/array.c:1.125
Rev: src/builtin_functions.c:1.427
Rev: src/dynamic_load.c:1.63
Rev: src/gc.c:1.181
Rev: src/interpret_functions.h:1.102
Rev: src/language.yacc:1.280
Rev: src/las.c:1.286
Rev: src/mapping.c:1.147
Rev: src/multiset.c:1.47
Rev: src/pike_search.c:1.8
Rev: src/post_modules/GL/gen.pike:1.15
Rev: src/post_modules/GL/top.c:1.15
Rev: src/post_modules/GLUT/gen.pike:1.2
Rev: src/stralloc.c:1.141
27:
#define HUGE HUGE_VAL
#endif /*!HUGE*/
- RCSID("$Id: stralloc.c,v 1.140 2002/01/16 02:54:19 nilsson Exp $");
+ RCSID("$Id: stralloc.c,v 1.141 2002/05/10 23:55:51 nilsson Exp $");
/* #define STRALLOC_USE_PRIMES */
2390: Inside #if defined(AUTO_BIGNUM)
convert_stack_top_with_base_to_bignum();
if(neg) o_negate();
- *r = *--sp;
+ *r = *--Pike_sp;
}
#endif /* AUTO_BIGNUM */
2402:
struct svalue r;
int i;
- if(sp[-1].type != T_STRING)
+ if(Pike_sp[-1].type != T_STRING)
Pike_error("Cannot convert stack top to integer number.\n");
- i=pcharp_to_svalue_inumber(&r, MKPCHARP_STR(sp[-1].u.string), 0, base, 0);
+ i=pcharp_to_svalue_inumber(&r, MKPCHARP_STR(Pike_sp[-1].u.string), 0, base, 0);
- free_string(sp[-1].u.string);
- sp[-1] = r;
+ free_string(Pike_sp[-1].u.string);
+ Pike_sp[-1] = r;
return i;
}