Index: trunk/src/tools/json_schema_compiler/idl_schema.py |
=================================================================== |
--- trunk/src/tools/json_schema_compiler/idl_schema.py (revision 232015) |
+++ trunk/src/tools/json_schema_compiler/idl_schema.py (working copy) |
@@ -292,13 +292,7 @@ |
enum = [] |
for node in self.node.children: |
if node.cls == 'EnumItem': |
- enum_value = {'name': node.GetName()} |
- for child in node.children: |
- if child.cls == 'Comment': |
- enum_value['description'] = ProcessComment(child.GetName())[0] |
- else: |
- raise ValueError('Did not process %s %s' % (child.cls, child)) |
- enum.append(enum_value) |
+ enum.append(node.GetName()) |
elif node.cls == 'Comment': |
self.description = ProcessComment(node.GetName())[0] |
else: |