diff options
Diffstat (limited to 'Src/math.c')
-rw-r--r-- | Src/math.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/math.c b/Src/math.c index f8a4eefeb..a2462a32e 100644 --- a/Src/math.c +++ b/Src/math.c @@ -362,8 +362,9 @@ mathevall(char *s, enum prec_type prec_tp, char **ep) if (mlevel >= MAX_MLEVEL) { xyyval.type = MN_INTEGER; xyyval.u.l = 0; + *ep = s; - zerr("math recursion limit exceeded"); + zerr("math recursion limit exceeded: %s", *ep); return xyyval; } |