From 44cd8ebe74451e0bb6fec83c723c168c4084d9b8 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 22 Nov 1999 01:05:46 +0000 Subject: zsh-3.1.6-pws-9 --- Src/builtin.c | 1 - Src/math.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'Src') diff --git a/Src/builtin.c b/Src/builtin.c index 586396080..075a03b17 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -3212,7 +3212,6 @@ zexit(int val, int from_signal) if (isset(MONITOR)) { /* send SIGHUP to any jobs left running */ killrunjobs(from_signal); - errflag = 0; } if (isset(RCS) && interact) { if (!nohistsave) diff --git a/Src/math.c b/Src/math.c index 6b7104e1b..7e4230c9b 100644 --- a/Src/math.c +++ b/Src/math.c @@ -188,8 +188,8 @@ zzlex(void) char *prev_locale; #endif int cct = 0; - yyval.type = MN_INTEGER; + for (;; cct = 0) switch (*ptr++) { case '+': @@ -367,7 +367,7 @@ zzlex(void) #ifdef USE_LOCALE setlocale(LC_NUMERIC, prev_locale); #endif - if (ptr == nptr || *nptr == '.') { + if (ptr == nptr || *nptr == '.' ) { zerr("bad floating point constant", NULL, 0); return EOI; } -- cgit 1.4.1