diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | translate.cxx | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,11 @@ 2005-08-19 Frank Ch. Eigler <fche@elastic.org> + PR systemtap/1213 + * translate.cxx (visit_if_statement): Translate else arms. + +2005-08-19 Frank Ch. Eigler <fche@elastic.org> + PR systemtap/1209 - * tapsets.cxx * elaborate.cxx (derived_probe_builder): Add get_param function. * elaborate.h: Declare them. * tapsets.cxx (dwarf_query::get_*_param): Call them. diff --git a/translate.cxx b/translate.cxx index 1a8e23b1..3a8d0bec 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1310,7 +1310,7 @@ c_unparser::visit_if_statement (if_statement *s) { o->newline() << "else {"; o->indent (1); - s->thenblock->visit (this); + s->elseblock->visit (this); o->newline(-1) << "}"; } } |