Index: trunk/src/tools/json_schema_compiler/cpp_type_generator.py |
=================================================================== |
--- trunk/src/tools/json_schema_compiler/cpp_type_generator.py (revision 232015) |
+++ trunk/src/tools/json_schema_compiler/cpp_type_generator.py (working copy) |
@@ -65,7 +65,7 @@ |
e.g VAR_STRING |
""" |
value = '%s_%s' % (self.FollowRef(type_).unix_name.upper(), |
- cpp_util.Classname(enum_value.name.upper())) |
+ cpp_util.Classname(enum_value.upper())) |
# To avoid collisions with built-in OS_* preprocessor definitions, we add a |
# trailing slash to enum names that start with OS_. |
if value.startswith("OS_"): |