Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: $((0x1+0x1)) gives unbalanced stack
- X-seq: zsh-workers 3947
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hacking and development)
- Subject: PATCH: $((0x1+0x1)) gives unbalanced stack
- Date: Fri, 8 May 1998 00:46:22 -0500 (CDT)
This patch fixes unballanced stack error on $((0x1+0x1))
Zoli
*** Src/math.c 1997/06/05 04:44:57 3.1.3.0
--- Src/math.c 1997/09/20 06:20:14 3.1.3.1
***************
*** 330,335 ****
--- 330,336 ----
break;
case '0':
if (*ptr == 'x' || *ptr == 'X') {
+ unary = 0;
/* Should we set lastbase here? */
yyval = zstrtol(++ptr, &ptr, lastbase = 16);
return NUM;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author