Clarify enum need at least one entry
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Nov 2013 18:09:00 +0000 (19:09 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 28 Nov 2013 18:09:00 +0000 (19:09 +0100)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
common-trace-format-specification.txt

index 4af2244ab37adfa5a513cff029811cbdcc48bcea..830699ff130ac4757e003d70b71b312f1f8ca2a0 100644 (file)
@@ -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,
This page took 0.023367 seconds and 4 git commands to generate.