summaryrefslogtreecommitdiffstats
path: root/parse.cxx
diff options
context:
space:
mode:
authordsmith <dsmith>2006-05-23 21:13:57 +0000
committerdsmith <dsmith>2006-05-23 21:13:57 +0000
commitc958a43102d3ce1f1ef60acde7444ad78e8d937c (patch)
tree609a7d0f2bf400fb8c71e0df6430b11c81b24187 /parse.cxx
parent828c3ed51a7270278c96f8db910f615bfd17dae5 (diff)
downloadsystemtap-steved-c958a43102d3ce1f1ef60acde7444ad78e8d937c.tar.gz
systemtap-steved-c958a43102d3ce1f1ef60acde7444ad78e8d937c.tar.xz
systemtap-steved-c958a43102d3ce1f1ef60acde7444ad78e8d937c.zip
2006-05-23 David Smith <dsmith@redhat.com>
* parse.cxx (parse_for_loop): Corrected error message.
Diffstat (limited to 'parse.cxx')
-rw-r--r--parse.cxx2
1 files changed, 1 insertions, 1 deletions
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