summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2015-03-18 12:27:33 +0200
committerChristian Linhart <chris@demorecorder.com>2015-05-30 12:21:34 +0200
commit094eccc4b1b9039feba6ea23eaf71095414ef3c4 (patch)
tree869d4476a7d589da7f43469a21262b5978a102ca
parent4c550465934164aab2449a125f75f4ca07816233 (diff)
xml-xcb.txt: mention that case/bitcase can have a name
Signed-off-by: Ran Benita <ran234@gmail.com> Reviewed-by: Christian Linhart <chris@demorecorder.com>
-rw-r--r--doc/xml-xcb.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt
index f8129ea..8d914a1 100644
--- a/doc/xml-xcb.txt
+++ b/doc/xml-xcb.txt
@@ -244,8 +244,8 @@ enum; the value is restricted to one of the constants named in the enum.
<switch> instead for new protocol definitions.
<switch name="identifier"> switch expression
- <bitcase> bitcase expression(s), fields </bitcase>
- <case> case expression(s), fields </case>
+ <bitcase [name="identifier"]> bitcase expression(s), fields </bitcase>
+ <case [name="identifier"]> case expression(s), fields </case>
</switch>
This element represents conditional inclusion of fields. It can be viewed