about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-07-26 13:19:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-07-26 13:19:25 +0000
commit44e2e5979c53b42702efb5b044b55e2b0ec7d8b2 (patch)
tree9d1da6ed86e7244f227d7a94164104bc9a0d55a5
parent09bc7ee2b56239020d1ef6bb1f5d7b4ef9f19db1 (diff)
downloadzsh-44e2e5979c53b42702efb5b044b55e2b0ec7d8b2.tar.gz
zsh-44e2e5979c53b42702efb5b044b55e2b0ec7d8b2.tar.xz
zsh-44e2e5979c53b42702efb5b044b55e2b0ec7d8b2.zip
22558: declaration after statement
-rw-r--r--ChangeLog4
-rw-r--r--Src/math.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cfc6373e3..a98441b1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-26  Peter Stephenson  <pws@csr.com>
+
+	* 22558: Src/math.c: declaration after statement.
+
 2006-07-25  Peter Stephenson  <pws@csr.com>
 
 	* 22557: Doc/Zsh/options.yo, Misc/globtests, Src/options.c,
diff --git a/Src/math.c b/Src/math.c
index fe5f7b74b..243096be5 100644
--- a/Src/math.c
+++ b/Src/math.c
@@ -264,8 +264,8 @@ static int
 zzlex(void)
 {
     int cct = 0;
-    yyval.type = MN_INTEGER;
     char *ie;
+    yyval.type = MN_INTEGER;
 
     for (;; cct = 0)
 	switch (*ptr++) {