zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: $((0x1+0x1)) gives unbalanced stack
@ 1998-05-08  5:46 Zoltan Hidvegi
  0 siblings, 0 replies; only message in thread
From: Zoltan Hidvegi @ 1998-05-08  5:46 UTC (permalink / raw)
  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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-05-08  5:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-08  5:46 PATCH: $((0x1+0x1)) gives unbalanced stack Zoltan Hidvegi

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).