diff options
author | fche <fche> | 2005-08-19 22:01:17 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-19 22:01:17 +0000 |
commit | 35e7735cfe0cbc924c0e7143b838ab36509ce584 (patch) | |
tree | 4a2ae46434ab05908b21712b9d56bbcb5dbca16f | |
parent | 98afd80eb5038542fa3a98c75528524b5d4287b6 (diff) | |
download | systemtap-steved-35e7735cfe0cbc924c0e7143b838ab36509ce584.tar.gz systemtap-steved-35e7735cfe0cbc924c0e7143b838ab36509ce584.tar.xz systemtap-steved-35e7735cfe0cbc924c0e7143b838ab36509ce584.zip |
2005-08-19 Frank Ch. Eigler <fche@elastic.org>
PR systemtap/1213
* translate.cxx (visit_if_statement): Translate else arms.
-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) << "}"; } } |