Fix typo in TODO.
[free-sw/xcb/proto] / doc / xml-xcb.txt
index fecee31..b88d182 100644 (file)
@@ -186,7 +186,7 @@ Top-Level Elements
   the new name given in the name attribute, and the new event number given in
   the number attribute.
 
   the new name given in the name attribute, and the new event number given in
   the number attribute.
 
-<eventcopy name="identifier" number="identifier" ref="identifier" />
+<errorcopy name="identifier" number="identifier" ref="identifier" />
 
   This element creates an alias for the error named in the ref attribute, with
   the new name given in the name attribute, and the new error number given in
 
   This element creates an alias for the error named in the ref attribute, with
   the new name given in the name attribute, and the new error number given in
@@ -259,9 +259,9 @@ Expressions
 <op op="operator">expression expression</op>
 
   The op element represents an operator, with the op attribute specifying
 <op op="operator">expression expression</op>
 
   The op element represents an operator, with the op attribute specifying
-  which operator.  The supported operations are *, /, &amp;, and &lt;&lt;, and
-  their semantics are identical to the corresponding operators in C.  The two
-  operand expressions may be fieldref, value, or op elements.
+  which operator.  The supported operations are +, -, *, /, &amp;, and
+  &lt;&lt;, and their semantics are identical to the corresponding operators
+  in C.  The two operand expressions may be other expression elements.
 
 <fieldref>identifier</fieldref>
 
 
 <fieldref>identifier</fieldref>
 
@@ -273,3 +273,8 @@ Expressions
 
   The value element represents a literal integer value in an expression.  The
   integer may be expressed in decimal or hexadecimal.
 
   The value element represents a literal integer value in an expression.  The
   integer may be expressed in decimal or hexadecimal.
+
+<bit>integer</bit>
+
+  The bit element represents a literal bitmask value in an expression.
+  The integer must be in the range 0..31, expanding to (1<<n) in C.