summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index 157e2bb0..b813ae83 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -1120,7 +1120,10 @@ c_unparser::emit_module_init ()
{
vector<derived_probe_group*> g = all_session_groups (*session);
for (unsigned i=0; i<g.size(); i++)
- g[i]->emit_module_decls (*session);
+ {
+ g[i]->emit_module_decls (*session);
+ o->assert_0_indent();
+ }
o->newline();
o->newline() << "static int systemtap_module_init (void) {";