You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2008/06/11 00:56:48 UTC
svn commit: r666373 - /incubator/thrift/trunk/test/ConstantsDemo.thrift
Author: dreiss
Date: Tue Jun 10 15:56:48 2008
New Revision: 666373
URL: http://svn.apache.org/viewvc?rev=666373&view=rev
Log:
Avoid a filename collision on case-insensitive filesystems.
Modified:
incubator/thrift/trunk/test/ConstantsDemo.thrift
Modified: incubator/thrift/trunk/test/ConstantsDemo.thrift
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/test/ConstantsDemo.thrift?rev=666373&r1=666372&r2=666373&view=diff
==============================================================================
--- incubator/thrift/trunk/test/ConstantsDemo.thrift (original)
+++ incubator/thrift/trunk/test/ConstantsDemo.thrift Tue Jun 10 15:56:48 2008
@@ -5,19 +5,19 @@
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<constants,string> GEN_ENUM_NAMES = {ONE : "HOWDY", TWO: PARTNER}
+const map<enumconstants,string> GEN_ENUM_NAMES = {ONE : "HOWDY", TWO: PARTNER}
const i32 hex_const = 0x0001F