From 776ea529028df393591f266be7500ee40d178829 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 25 Nov 2014 16:41:55 -0500 Subject: [PATCH] Prettify C output with newlines --- barectf/cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/barectf/cli.py b/barectf/cli.py index ae37293..c0945da 100644 --- a/barectf/cli.py +++ b/barectf/cli.py @@ -1375,6 +1375,7 @@ class BarectfCodeGenerator: # out of space) line = 'uint32_t ctx_at_begin = {};'.format(self._CTX_AT) clines.append(_CLine(line)) + clines.append(_CLine('')) # packet context fields fcline_groups = [] @@ -1493,9 +1494,9 @@ class BarectfCodeGenerator: # out of space) line = 'uint32_t ctx_at_begin = {};'.format(self._CTX_AT) clines.append(_CLine(line)) + clines.append(_CLine('')) # set context parameters - clines.append(_CLine('')) clines.append(_CLine("/* barectf context parameters */")) clines.append(_CLine('ctx->buf = buf;')) clines.append(_CLine('ctx->packet_size = buf_size * 8;')) @@ -1774,6 +1775,7 @@ class BarectfCodeGenerator: # out of space) line = 'uint32_t ctx_at_begin = {};'.format(self._CTX_AT) clines.append(_CLine(line)) + clines.append(_CLine('')) # event header fcline_groups = [] -- 2.34.1