We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 298dbfb commit a174145Copy full SHA for a174145
src/util/xml_expr.cpp
@@ -126,7 +126,8 @@ xmlt xml(
126
{
127
result.name="vector";
128
result.new_element("subtype").new_element()=xml(type.subtype(), ns);
129
- result.new_element("size").new_element()=xml(to_vector_type(type).size(), ns);
+ result.new_element("size").new_element()=
130
+ xml(to_vector_type(type).size(), ns);
131
}
132
else if(type.id()==ID_struct)
133
@@ -318,7 +319,8 @@ xmlt xml(
318
319
320
xmlt &e=result.new_element("member");
321
e.new_element(xml(expr.op0(), ns));
- e.set_attribute("member_name",
322
+ e.set_attribute(
323
+ "member_name",
324
id2string(to_union_expr(expr).get_component_name()));
325
326
else
0 commit comments