Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PATCH: $((0x1+0x1)) gives unbalanced stack

1 view
Skip to first unread message

Zoltan Hidvegi

unread,
May 8, 1998, 3:00:00 AM5/8/98
to Zsh hacking and development

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;


0 new messages