enum: Clarify behavior for omitted values after range
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 Apr 2012 13:49:14 +0000 (09:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 Apr 2012 13:49:14 +0000 (09:49 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
common-trace-format-specification.txt

index 27da4c42d4b6b9ec492c94d03ad03ff6f05f109d..e0944b5d84b6491e33c6e9c0b6b889b0751b845b 100644 (file)
@@ -358,7 +358,8 @@ enum name : integer_type {
 };
 
 If the values are omitted, the enumeration starts at 0 and increment of 1 for
-each entry:
+each entry. An entry with omitted value that follows a range entry takes
+as value the end_value of the previous range + 1:
 
 enum name : unsigned int {
   ZERO,
This page took 0.023853 seconds and 4 git commands to generate.