Index: tools/json_schema_compiler/idl_schema.py |
diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py |
index 62d31ed54a8900fe3b9d2d11233fae2e84a26547..bc8b2bf55db6f87a010077e6085b98fd8aed7d00 100644 |
--- a/tools/json_schema_compiler/idl_schema.py |
+++ b/tools/json_schema_compiler/idl_schema.py |
@@ -309,7 +309,8 @@ class Enum(object): |
'description': self.description, |
'type': 'string', |
'enum': enum} |
- for property_name in ('inline_doc', 'noinline_doc', 'nodoc'): |
+ for property_name in ( |
+ 'inline_doc', 'noinline_doc', 'nodoc', 'cpp_omit_enum_type',): |
if self.node.GetProperty(property_name): |
result[property_name] = True |
if self.node.GetProperty('deprecated'): |