From: Ian Osgood Date: Mon, 20 Mar 2006 15:36:39 +0000 (-0800) Subject: Update xml-xcb.txt to include new expression. X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=946717baec905a8a58ed9f833a3fd91e71dd3a02;p=free-sw%2Fxcb%2Fproto Update xml-xcb.txt to include new expression. --- diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt index 51e641b..b88d182 100644 --- a/doc/xml-xcb.txt +++ b/doc/xml-xcb.txt @@ -259,9 +259,9 @@ Expressions expression expression The op element represents an operator, with the op attribute specifying - which operator. The supported operations are *, /, &, and <<, 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 +, -, *, /, &, and + <<, and their semantics are identical to the corresponding operators + in C. The two operand expressions may be other expression elements. identifier @@ -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. + +integer + + The bit element represents a literal bitmask value in an expression. + The integer must be in the range 0..31, expanding to (1<