summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--parse.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ce4c399d..aa09de8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-23 David Smith <dsmith@redhat.com>
+
+ * parse.cxx (parse_for_loop): Corrected error message.
+
2006-05-22 David Smith <dsmith@redhat.com>
* elaborate.cxx (find_and_build): Fixed issue #2643. Wildcard
diff --git a/parse.cxx b/parse.cxx
index 9a3f2d43..afa5a3ad 100644
--- a/parse.cxx
+++ b/parse.cxx
@@ -1363,7 +1363,7 @@ parser::parse_for_loop ()
s->incr = parse_expr_statement ();
t = next ();
if (! (t->type == tok_operator && t->content == ")"))
- throw parse_error ("expected ';'");
+ throw parse_error ("expected ')'");
}
// block