blob: 28226878baf507f762a23effacfcffb03bfee4e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{%- if dump_sems is defined %}
#[===[
vvvvvv SEMANTICS
{#- replace(' ', ' ') is workaround, else `split` function in C++ receive invalid input -#}
{%- set lines = split(dump_sems|replace(' ', ' '), '\n') -%}
{%- for line in lines %}
{{ line }}
{%- endfor %}
^^^^^^ SEMANTICS
]===]
{%- endif -%}
{%- if dump_attrs is defined %}
#[===[
vvvvvv ATTRIBUTES
{#- replace(' ', ' ') is workaround, else `split` function in C++ receive invalid input -#}
{%- set lines = split(dump_attrs|replace(' ', ' '), '\n') -%}
{%- for line in lines %}
{{ line }}
{%- endfor %}
^^^^^^ ATTRIBUTES
]===]
{%- endif -%}
|