summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/data.hpp.ede1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/data.hpp.ede b/templates/data.hpp.ede
index 0dcb02c..383ed5f 100644
--- a/templates/data.hpp.ede
+++ b/templates/data.hpp.ede
@@ -24,6 +24,7 @@ namespace data { {% for c in t.value.constructors %}{% if !(c.value.fields | emp
24 public:{% for f in c.value.fields %}{% if c.value.fields | hasFieldNames %} 24 public:{% for f in c.value.fields %}{% if c.value.fields | hasFieldNames %}
25 {{ f.value.fieldType | cppType }} {{ f.value.fieldName }};{% else %} 25 {{ f.value.fieldType | cppType }} {{ f.value.fieldName }};{% else %}
26 {{ f.value.fieldType | cppType | parens }} _{{ f.index0 }};{% endif %}{% endfor %} 26 {{ f.value.fieldType | cppType | parens }} _{{ f.index0 }};{% endif %}{% endfor %}
27 {{ c.value.name }}() { tag = tag::{{ c.value.name }}; }
27 };{% endif %}{% endfor %} 28 };{% endif %}{% endfor %}
28} 29}
29{% when "TypeAlias" %} 30{% when "TypeAlias" %}