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 /translate.cxx | |
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.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) << "}"; } } |