about summary refs log tree commit diff
diff options
context:
space:
mode:
-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++) {