From: Mathieu Desnoyers Date: Mon, 31 Jan 2011 23:15:29 +0000 (-0500) Subject: update enum: <> is after identifier X-Git-Tag: v1.8~83 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=cfc73fdcfb61cbfea3831c79f602825f87865878;hp=9dfcfc0f1bd6b6bbdb3aa5f805b3f8fd5e1db293 update enum: <> is after identifier Signed-off-by: Mathieu Desnoyers --- 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 { ... };