From: Richard Henderson Date: Tue, 30 May 2017 18:24:17 +0000 (-0700) Subject: Fix buildok/logging-embedded.stp X-Git-Tag: post-bpf-merge^2~5^2~36 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=dca4878ed8488d956b128451dad5b9df337f0e38;p=systemtap.git Fix buildok/logging-embedded.stp --- diff --git a/translate.cxx b/translate.cxx index f349dadb3..d5109f718 100644 --- a/translate.cxx +++ b/translate.cxx @@ -3823,6 +3823,9 @@ c_unparser::visit_embeddedcode (embeddedcode *s) for (vector::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() << "}"; }