#include "error.h"
#include <stdlib.h>
#include "alloc.h"
+#include "case.h"
#include "command.h"
#include "dfm.h"
#include "error.h"
{
fx.spec.type = PRT_CONST;
fx.spec.fc = fx.sc - 1;
- fx.spec.u.c = xstrdup (ds_value (&tokstr));
+ fx.spec.u.c = xstrdup (ds_c_str (&tokstr));
lex_get ();
/* Parse the included column range. */
case PRT_ERROR:
default:
assert (0);
+ abort ();
}
if (pot_w > w)
w = pot_w;
break;
case PRT_VAR:
- data_out (&buf[i->fc], &i->u.v.f, &c->data[i->u.v.v->fv]);
+ data_out (&buf[i->fc], &i->u.v.f, case_data (c, i->u.v.v->fv));
len = i->fc + i->u.v.f.w;
break;
if (token != '.')
{
- e = expr_parse (PXP_NUMERIC);
+ e = expr_parse (EXPR_NUMERIC);
if (token != '.')
{
expr_free (e);