diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-10 08:23:19 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-10 08:23:19 +0000 |
commit | 0d3528817d6f3d86d10dcf0e53b39af0945ca588 (patch) | |
tree | cf1dd3999541dc470a1b488e1113b1b2b8f3bf48 /Src/math.c | |
parent | 097b72b21283d8db76fcad06446228eb65a7b406 (diff) | |
download | zsh-0d3528817d6f3d86d10dcf0e53b39af0945ca588.tar.gz zsh-0d3528817d6f3d86d10dcf0e53b39af0945ca588.tar.xz zsh-0d3528817d6f3d86d10dcf0e53b39af0945ca588.zip |
zsh-workers/8607
Diffstat (limited to 'Src/math.c')
-rw-r--r-- | Src/math.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/math.c b/Src/math.c index 1607d4472..e0e13ee35 100644 --- a/Src/math.c +++ b/Src/math.c @@ -876,6 +876,8 @@ mathevall(char *s, int prek, char **ep) ptr = s; sp = -1; unary = 1; + stack[0].val.type = MN_INTEGER; + stack[0].val.u.l = 0; mathparse(prek); *ep = ptr; DPUTS(!errflag && sp, |