about summary refs log tree commit diff
path: root/Src/math.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-26 22:11:05 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-26 22:11:05 +0000
commit7718446be8995e3bbc5ced601b1fe2f6649acdeb (patch)
treeeb68b90a44925434bea8acdcf0d5c2c3319810c8 /Src/math.c
parenta89276f1010200a98fb7cdc1a0bdf6ff48247ce6 (diff)
downloadzsh-7718446be8995e3bbc5ced601b1fe2f6649acdeb.tar.gz
zsh-7718446be8995e3bbc5ced601b1fe2f6649acdeb.tar.xz
zsh-7718446be8995e3bbc5ced601b1fe2f6649acdeb.zip
revert zsh-workers:8049
Diffstat (limited to 'Src/math.c')
-rw-r--r--Src/math.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Src/math.c b/Src/math.c
index 9bdb2fb42..d9855f1ba 100644
--- a/Src/math.c
+++ b/Src/math.c
@@ -852,6 +852,7 @@ mathevall(char *s, int prek, char **ep)
     struct mathvalue *xstack = 0, nstack[STACKSZ];
     mnumber ret;
 
+    MUSTUSEHEAP("mathevall");
     if (mlevel++) {
 	xlastbase = lastbase;
 	xnoeval = noeval;
@@ -874,9 +875,7 @@ mathevall(char *s, int prek, char **ep)
     ptr = s;
     sp = -1;
     unary = 1;
-    HEAPALLOC {
-	mathparse(prek);
-    } LASTALLOC;
+    mathparse(prek);
     *ep = ptr;
     DPUTS(!errflag && sp,
 	  "BUG: math: wallabies roaming too freely in outback");