From 9f04b9f6281cda27010f25816a66df7700cd0a9a Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 28 Nov 2013 19:09:00 +0100 Subject: [PATCH] Clarify enum need at least one entry Signed-off-by: Mathieu Desnoyers --- common-trace-format-specification.txt | 1 + 1 file changed, 1 insertion(+) 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, -- 2.34.1