summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan S. Arnold <ryan.arnold@linaro.org>2016-06-28 16:48:50 -0500
committerRyan S. Arnold <ryan.arnold@linaro.org>2016-06-28 16:48:50 -0500
commit078f562aada76a102caa0bbfab365e3ebf065db2 (patch)
tree3de61a79c30a0a33fcc0d9aa54efa50ff8af32f5
parentb3f7d26ffdac229cad00f4ccc0b37b7293ca68f1 (diff)
Correct formatting in 'newscont' macro.
Change-Id: I73192ad3e7ceeb97d56e806337c2edd9074b0f9a
-rw-r--r--components/toolchain/binaries/macros12
1 files changed, 8 insertions, 4 deletions
diff --git a/components/toolchain/binaries/macros b/components/toolchain/binaries/macros
index c2e7eb0..e32dabd 100644
--- a/components/toolchain/binaries/macros
+++ b/components/toolchain/binaries/macros
@@ -83,10 +83,14 @@
{% endif %}
{% elif mode == "newscont" -%}
- p
- {%- for i in range(0, 3) -%}
- (
- {%- endfor -%}. {{ line }}
+ {%- if loop.index0 == 0 -%}
+ p
+ {%- for i in range(0, 3) -%}
+ (
+ {%- endfor -%}. {{ line }}
+ {% else -%}
+ {{ line }}
+ {% endif -%}
{% elif mode == "para" -%}
{{ line }}
{% endif %}