diff --git a/test/ConstantsDemo.thrift b/test/ConstantsDemo.thrift index dc12bb06d..5249f79cc 100644 --- a/test/ConstantsDemo.thrift +++ b/test/ConstantsDemo.thrift @@ -5,19 +5,19 @@ struct thing { 2: i32 goodbye } -enum constants { +enum enumconstants { ONE = 1, TWO = 2 } struct thing2 { - 1: constants val = TWO + 1: enumconstants val = TWO } typedef i32 myIntType const myIntType myInt = 3 -const map GEN_ENUM_NAMES = {ONE : "HOWDY", TWO: PARTNER} +const map GEN_ENUM_NAMES = {ONE : "HOWDY", TWO: PARTNER} const i32 hex_const = 0x0001F