]> sourceware.org Git - systemtap.git/commitdiff
2005-08-19 Frank Ch. Eigler <fche@elastic.org>
authorfche <fche>
Fri, 19 Aug 2005 22:01:17 +0000 (22:01 +0000)
committerfche <fche>
Fri, 19 Aug 2005 22:01:17 +0000 (22:01 +0000)
PR systemtap/1213
* translate.cxx (visit_if_statement): Translate else arms.

ChangeLog
translate.cxx

index 66d14e223d6f0b0897d481186631673608fd2a7a..2067464766605216e95feb66ae635bdb9383637d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 1a8e23b161eb7e81449aefeea8d83e541972a98d..3a8d0bec1acc87458c8339d231ecfb3d806913d6 100644 (file)
@@ -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) << "}";
     }
 }
This page took 0.046738 seconds and 5 git commands to generate.