]> sourceware.org Git - systemtap.git/commitdiff
Fix buildok/logging-embedded.stp
authorRichard Henderson <rth@redhat.com>
Tue, 30 May 2017 18:24:17 +0000 (11:24 -0700)
committerRichard Henderson <rth@redhat.com>
Tue, 30 May 2017 18:24:17 +0000 (11:24 -0700)
translate.cxx

index f349dadb319c95c6818020548a9334406778f2f2..d5109f71855d547333f73a0bf46c56c3e81fb11b 100644 (file)
@@ -3823,6 +3823,9 @@ c_unparser::visit_embeddedcode (embeddedcode *s)
   for (vector<vardecl*>::const_iterator it = write_defs.begin(); it != write_defs.end(); ++it)
     c_global_write_undef(*it);
 
+  if (1 || s->code.find ("CATCH_DEREF_FAULT") != string::npos)
+    o->newline() << ";";
+
   o->newline() << "}";
 }
 
This page took 0.036505 seconds and 5 git commands to generate.