Jinja 2 templates: stylize block comments like C block comments
[deliverable/barectf.git] / barectf / templates / metadata-struct-ft.j2
index dcfb05dffb321ebd56a5ad85d0955b8e3b972134..7c300357178290c010992a847cbf56a18d0e97c0 100644 (file)
@@ -1,9 +1,9 @@
 struct {
 {% for name, member in ft.members.items() %}
 {#
-`chain` is a list of static array field types terminated with a
-non-array field type (the most nested).
-#}
+ # `chain` is a list of static array field types terminated with a
+ # non-array field type (the most nested).
+ #}
 {% set chain = ft_chain(member.field_type) %}
        {{ chain[-1] | ft_str | indent_tab }} {{ name }}
        {%- for array_ft in chain[:-1] %}[{{ array_ft.length }}]{% endfor %};
This page took 0.02812 seconds and 4 git commands to generate.