Commit ecd9cd44 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Support dash and spaces in names

parent 9331dad9
Pipeline #3185 passed with stage
in 37 minutes and 27 seconds
......@@ -97,7 +97,7 @@ SUBCOMPONENTS
{{ func.name }} : SYSTEM interfaceview::IV::{{ func.path|join:"::" }}::{{ func.name }}.others;
{% endfor %}
{% for param in func.contextParameters %}
{{ param.name }} : DATA DataView::{{ param.type }} {
{{ param.underscoredName }} : DATA DataView::{{ param.underscoredType }} {
Taste::FS_Default_Value => "{{ param.defaultValue }}";
};
{% endfor %}
......
......@@ -31,11 +31,11 @@ SUBPROGRAM RI_{{ name }}
FEATURES
{% for param in iface.params %}
{% if param.isIn %}
{{ param.name }} : IN PARAMETER DataView::{{ param.type }} {
{{ param.underscoredName }} : IN PARAMETER DataView::{{ param.underscoredType }} {
Taste::encoding => {{ param.encoding }};
};
{% else %}
{{ param.name }} : OUT PARAMETER DataView::{{ param.type }} {
{{ param.underscoredName }} : OUT PARAMETER DataView::{{ param.underscoredType }} {
Taste::encoding => {{ param.encoding }};
};
{% endif %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment