aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/typesystem_specifying_types.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/typesystem_specifying_types.rst b/doc/typesystem_specifying_types.rst
index 66536cf7..a8bce1e1 100644
--- a/doc/typesystem_specifying_types.rst
+++ b/doc/typesystem_specifying_types.rst
@@ -134,6 +134,7 @@ enum-type
<typesystem>
<enum-type name="..."
+ identified-by-value="..."
since="..."
flags="yes | no"
lower-bound="..."
@@ -156,6 +157,11 @@ enum-type
The *optional* **since** value is used to specify the API version of this type.
+ The attribute **identified-by-value** helps to specify anonymous enums using the
+ name of one of their values, which is unique for the anonymous enum scope.
+ Notice that the **enum-type** tag can either have **name** or **identified-by-value**
+ but not both.
+
reject-enum-value