Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

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



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