macros: Merge all element children into a common syntax.

This commit is contained in:
Emmanuel Gil Peyrot 2018-05-28 16:29:51 +02:00
commit a625b88fce
8 changed files with 200 additions and 490 deletions

View file

@ -62,10 +62,10 @@ generate_element_with_children!(
attributes: [
h: Option<u32> = "h" => optional,
],
child: (
children: [
// XXX: implement the * handling.
error: Option<DefinedCondition> = ("*", XMPP_STANZAS) => DefinedCondition
)
]
);
generate_empty_element!(