From c958a43102d3ce1f1ef60acde7444ad78e8d937c Mon Sep 17 00:00:00 2001 From: dsmith Date: Tue, 23 May 2006 21:13:57 +0000 Subject: 2006-05-23 David Smith * parse.cxx (parse_for_loop): Corrected error message. --- ChangeLog | 4 ++++ parse.cxx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ce4c399d..aa09de8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-05-23 David Smith + + * parse.cxx (parse_for_loop): Corrected error message. + 2006-05-22 David Smith * 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 -- cgit