02111-1307, USA. */
#include <config.h>
+#include "expr.h"
+#include "exprP.h"
#include <assert.h>
#include <math.h>
#include <ctype.h>
#include "approx.h"
#include "data-in.h"
#include "error.h"
-#include "expr.h"
-#include "exprP.h"
#include "julcal/julcal.h"
#include "misc.h"
+#include "pool.h"
#include "stats.h"
#include "str.h"
#include "var.h"
f.d = (int) n->arg[3];
v.f = n0;
+ assert ((formats[f.type].cat & FCAT_STRING) == 0);
data_out (strbuf, &f, &v);
n = repl_str_con (n, strbuf, f.w);
}
}
rnc (n0);
break;
-
-#if __CHECKER__
- /* This case prevents Checker from choking. */
- case 42000:
- assert (0);
-#endif
}
return n;
}
max_height = height;
}
- /* ANSI says we have to waste space for one `value' since pointers
- are not guaranteed to be able to point to a spot *before* a
- block. If only all the world were a VAX... */
+ /* We waste space for one `value' since pointers are not
+ guaranteed to be able to point to a spot before a block. */
max_height++;
e->stack = xmalloc (max_height * sizeof *e->stack);
-#if PAGED_STACK
- e->str_stack = e->type == EX_STRING ? xmalloc (256) : NULL;
-#else
- e->str_stack = xmalloc (256);
- e->str_size = 256;
-#endif
+ e->pool = pool_create ();
}
static void