x->data.variable.dyna->data.variable.dyna->data.constant.value = locv;
}
if (ex->disc->setf(ex, x, x->data.variable.symbol,
- x->data.variable.reference, env, (int)i.integer, v,
- ex->disc) < 0)
+ x->data.variable.reference, env, v) < 0)
exerror("%s: cannot set value", x->data.variable.symbol->name);
}
if (expr->subop == PRE)
/* get value function */
Extype_t (*reff)(Expr_t*, Exnode_t*, Exid_t*, Exref_t*);
/* reference value function */
- int (*setf)(Expr_t*, Exnode_t*, Exid_t*, Exref_t*, void*, int, Extype_t, Exdisc_t*);
+ int (*setf)(Expr_t*, Exnode_t*, Exid_t*, Exref_t*, void*, Extype_t);
/* set value function */
int (*matchf)(Expr_t*, Exnode_t*, const char*, Exnode_t*, const char*, void*, Exdisc_t*);
/* exit function */
*/
static int
setval(Expr_t * pgm, Exnode_t * x, Exid_t * sym, Exref_t * ref,
- void *env, int elt, Extype_t v, Exdisc_t * disc)
+ void *env, Extype_t v)
{
- (void)elt;
- (void)disc;
-
Gpr_t *state;
Agobj_t *objp;
Agnode_t *np;