From: Mathieu Desnoyers Date: Wed, 11 Apr 2012 13:49:14 +0000 (-0400) Subject: enum: Clarify behavior for omitted values after range X-Git-Tag: v1.8.2~9 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=0cedf6e545d9cb736218fed5832a2a9ae81b5ef1 enum: Clarify behavior for omitted values after range Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index 27da4c4..e0944b5 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -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,