From: Mathieu Desnoyers Date: Thu, 28 Nov 2013 18:09:00 +0000 (+0100) Subject: Clarify enum need at least one entry X-Git-Tag: v1.8.3~13 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=9f04b9f6281cda27010f25816a66df7700cd0a9a;ds=sidebyside Clarify enum need at least one entry Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index 4af2244..830699f 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -360,6 +360,7 @@ values to strings. An enumeration from the C language can be represented in this format by having the same start_value and end_value for each element, which is in fact a range of size 1. This single-value range is supported without repeating the start and end values with the value = string declaration. +Enumerations need to contain at least one entry. enum name : integer_type { somestring = start_value1 ... end_value1,