[Xcb] [PATCH proto 1/3] xml-xcb spec: describe switch-case
Peter Harris
pharris at opentext.com
Tue Aug 19 11:06:19 PDT 2014
On 2014-08-19 09:55, Christian Linhart wrote:
>
> - When a bitcase includes multiple <enumref> clauses, the contents of the
> - bitcase are only present once regardless of the number of bitcase expressions
> - that match.
> + When a bitcase or case includes multiple <enumref> clauses, the contents
> + of the bitcase or case are only present once regardless of the number of
> + bitcase or case expressions that match.
I'd like to see a paragraph that adds the restriction that <enumref>
inside <bitcase> can only refer to an enum's <bit> members, and
<enumref> inside <case> can only refer to an enum's <value> members.
I know this wasn't true before your 3/3 patch, but I'd like it to remain
true in the future.
Thanks,
Peter Harris
--
Open Text Connectivity Solutions Group
Peter Harris http://connectivity.opentext.com/
Research and Development Phone: +1 905 762 6001
pharris at opentext.com Toll Free: 1 877 359 4866
More information about the Xcb
mailing list