macros: Merge all element children into a common syntax.
This commit is contained in:
parent
cbef3f6e8d
commit
a625b88fce
8 changed files with 200 additions and 490 deletions
|
|
@ -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!(
|
||||
|
|
|
|||
Loading…
Reference in a new issue