diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-22 01:05:46 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-22 01:05:46 +0000 |
commit | 44cd8ebe74451e0bb6fec83c723c168c4084d9b8 (patch) | |
tree | 3b334a0fffb74160b85ac89ce9970975fb2e087b /Src | |
parent | 9963a4294c6ca5b4ae4640c0865d437eaf756ed5 (diff) | |
download | zsh-44cd8ebe74451e0bb6fec83c723c168c4084d9b8.tar.gz zsh-44cd8ebe74451e0bb6fec83c723c168c4084d9b8.tar.xz zsh-44cd8ebe74451e0bb6fec83c723c168c4084d9b8.zip |
zsh-3.1.6-pws-9 zsh-3.1.6-pws-9
Diffstat (limited to 'Src')
-rw-r--r-- | Src/builtin.c | 1 | ||||
-rw-r--r-- | Src/math.c | 4 |
2 files changed, 2 insertions, 3 deletions
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; } |