Branch: Tag:

2019-03-15

2019-03-15 15:35:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: apply_svalue() on integers no longer returns zero.

apply_svalue() on integers other than UNDEFINED now generate
an error instead of silently returning 0.

Fixes [LysLysKOM 22891031].

2871:      PMOD_EXPORT void apply_svalue(struct svalue *s, INT32 args)   { -  if(TYPEOF(*s) == T_INT) +  if(IS_UNDEFINED(s))    { -  +  /* FIXME: Why? cf LysLysKOM 22891031. */    pop_n_elems(args);    push_int(0);    }else{