From: David Reiss Date: Tue, 10 Jun 2008 22:56:48 +0000 (+0000) Subject: Avoid a filename collision on case-insensitive filesystems. X-Git-Tag: 0.2.0~771 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=176ed368a30623a204f04f056b49c7ab9805ee8d;p=common%2Fthrift.git Avoid a filename collision on case-insensitive filesystems. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666373 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/ConstantsDemo.thrift b/test/ConstantsDemo.thrift index dc12bb06..5249f79c 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