diff options
Diffstat (limited to 'Src/math.c')
-rw-r--r-- | Src/math.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/math.c b/Src/math.c index caff06de9..beef74525 100644 --- a/Src/math.c +++ b/Src/math.c @@ -46,7 +46,7 @@ mod_export mnumber zero_mnumber; /* * The last value we computed: note this isn't cleared - * until the next computation, unlike unlike yyval. + * until the next computation, unlike yyval. * Everything else is saved and returned to allow recursive calls. */ /**/ @@ -1156,7 +1156,8 @@ op(int what) if (tp & (OP_E2|OP_E2IO)) { struct mathvalue *mvp = stack + sp + 1; lv = stack[sp+1].lval; - push(setmathvar(mvp,c), mvp->lval, 0); + c = setmathvar(mvp, c); + push(c, mvp->lval, 0); } else push(c,NULL, 0); return; |