mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 12:40:58 +02:00
revert zsh-workers:8049
This commit is contained in:
parent
a89276f101
commit
7718446be8
1 changed files with 2 additions and 3 deletions
|
@ -852,6 +852,7 @@ mathevall(char *s, int prek, char **ep)
|
||||||
struct mathvalue *xstack = 0, nstack[STACKSZ];
|
struct mathvalue *xstack = 0, nstack[STACKSZ];
|
||||||
mnumber ret;
|
mnumber ret;
|
||||||
|
|
||||||
|
MUSTUSEHEAP("mathevall");
|
||||||
if (mlevel++) {
|
if (mlevel++) {
|
||||||
xlastbase = lastbase;
|
xlastbase = lastbase;
|
||||||
xnoeval = noeval;
|
xnoeval = noeval;
|
||||||
|
@ -874,9 +875,7 @@ mathevall(char *s, int prek, char **ep)
|
||||||
ptr = s;
|
ptr = s;
|
||||||
sp = -1;
|
sp = -1;
|
||||||
unary = 1;
|
unary = 1;
|
||||||
HEAPALLOC {
|
mathparse(prek);
|
||||||
mathparse(prek);
|
|
||||||
} LASTALLOC;
|
|
||||||
*ep = ptr;
|
*ep = ptr;
|
||||||
DPUTS(!errflag && sp,
|
DPUTS(!errflag && sp,
|
||||||
"BUG: math: wallabies roaming too freely in outback");
|
"BUG: math: wallabies roaming too freely in outback");
|
||||||
|
|
Loading…
Reference in a new issue