Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: trunk/src/tools/json_schema_compiler/cpp_type_generator.py

Issue 47403003: Revert 231982 "Docserver: Display enum value descriptions in API..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_"):
« no previous file with comments | « trunk/src/tools/json_schema_compiler/cc_generator.py ('k') | trunk/src/tools/json_schema_compiler/idl_schema.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698