[proto] xml-xcb.txt: mention that case/bitcase can have a name

Submitted by Ran Benita on Oct. 12, 2014, 7 p.m.

Details

Message ID 1413140428-20262-1-git-send-email-ran234@gmail.com
State Superseded
Headers show

Not browsing as part of any series.

Commit Message

Ran Benita Oct. 12, 2014, 7 p.m.
Signed-off-by: Ran Benita <ran234@gmail.com>
---
 doc/xml-xcb.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt
index 235958d..b038984 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