update enum: <> is after identifier
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 31 Jan 2011 23:15:29 +0000 (18:15 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 31 Jan 2011 23:15:29 +0000 (18:15 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
common-trace-format-proposal.txt

index d996d7c6e1fee1138b1f62628a3385eb43c377da..8e79b738f62f3e0ae64107daea7da72c4e620d26 100644 (file)
@@ -273,7 +273,7 @@ repeating the start and end values with the value = string declaration.
 If a numeric value is encountered between < >, it represents the integer type
 size used to hold the enumeration, in bits.
 
-enum <integer_type OR size> name {
+enum name <integer_type OR size> {
   string              = start_value1 ... end_value1,
   "other string"      = start_value2 ... end_value2,
   yet_another_string,  /* will be assigned to end_value2 + 1 */
@@ -284,7 +284,7 @@ enum <integer_type OR size> name {
 If the values are omitted, the enumeration starts at 0 and increment of 1 for
 each entry:
 
-enum <32> name {
+enum name <32> {
   ZERO,
   ONE,
   TWO,
@@ -848,7 +848,7 @@ variant name {
   ...
 };
 
-enum <integer_type or size> name {
+enum name <integer_type or size> {
   ...
 };
 
This page took 0.024108 seconds and 4 git commands to generate.