From cfc73fdcfb61cbfea3831c79f602825f87865878 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 31 Jan 2011 18:15:29 -0500 Subject: [PATCH] update enum: <> is after identifier Signed-off-by: Mathieu Desnoyers --- common-trace-format-proposal.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common-trace-format-proposal.txt b/common-trace-format-proposal.txt index d996d7c..8e79b73 100644 --- a/common-trace-format-proposal.txt +++ b/common-trace-format-proposal.txt @@ -273,7 +273,7 @@ repeating the start and end values with the value = string declaration. If a numeric value is encountered between < >, it represents the integer type size used to hold the enumeration, in bits. -enum name { +enum name { string = start_value1 ... end_value1, "other string" = start_value2 ... end_value2, yet_another_string, /* will be assigned to end_value2 + 1 */ @@ -284,7 +284,7 @@ enum name { If the values are omitted, the enumeration starts at 0 and increment of 1 for each entry: -enum <32> name { +enum name <32> { ZERO, ONE, TWO, @@ -848,7 +848,7 @@ variant name { ... }; -enum name { +enum name { ... }; -- 2.34.1