diff options
Diffstat (limited to 'bindings/xml/comment-xml-schema.rng')
-rw-r--r-- | bindings/xml/comment-xml-schema.rng | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/bindings/xml/comment-xml-schema.rng b/bindings/xml/comment-xml-schema.rng index 8071b3a06c..69d8229d6b 100644 --- a/bindings/xml/comment-xml-schema.rng +++ b/bindings/xml/comment-xml-schema.rng @@ -13,6 +13,7 @@ <ref name="Variable" /> <ref name="Namespace" /> <ref name="Typedef" /> + <ref name="Enum" /> </choice> </start> @@ -216,6 +217,36 @@ </element> </define> + <define name="Enum"> + <element name="Enum"> + <ref name="attrSourceLocation" /> + <ref name="Name" /> + <optional> + <ref name="USR" /> + </optional> + <optional> + <ref name="Abstract" /> + </optional> + + <!-- Template parameters, parameters and results don't make sense for + enums, but the user can specify \tparam \param or \returns in a + comment anyway. --> + <optional> + <ref name="TemplateParameters" /> + </optional> + <optional> + <ref name="Parameters" /> + </optional> + <optional> + <ref name="ResultDiscussion" /> + </optional> + + <optional> + <ref name="Discussion" /> + </optional> + </element> + </define> + <define name="attrSourceLocation"> <optional> <attribute name="file"> |