about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-21 03:35:38 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-21 03:35:38 +0000
commit4c45ac1c27e9bd49a1e6cba53e08508eb4251e25 (patch)
tree12ecd67fd9541706908100993a795851be24e878
parent955321f47065bffbae748621085eaaba2a42b1ec (diff)
downloadzsh-4c45ac1c27e9bd49a1e6cba53e08508eb4251e25.tar.gz
zsh-4c45ac1c27e9bd49a1e6cba53e08508eb4251e25.tar.xz
zsh-4c45ac1c27e9bd49a1e6cba53e08508eb4251e25.zip
zsh-workers/8697
-rw-r--r--Src/math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/math.c b/Src/math.c
index 7e4230c9b..6b7104e1b 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;
 
+    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;
 		    }