| 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 e33f8f005d36f66afb106d6fd94ba5fb12009f6a..238fb05e3ce5b388a8c776bd4942f5984801269a 100644 | 
| --- a/tools/json_schema_compiler/idl_schema.py | 
| +++ b/tools/json_schema_compiler/idl_schema.py | 
| @@ -292,7 +292,13 @@ class Enum(object): | 
| enum = [] | 
| for node in self.node.children: | 
| if node.cls == 'EnumItem': | 
| -        enum.append(node.GetName()) | 
| +        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) | 
| elif node.cls == 'Comment': | 
| self.description = ProcessComment(node.GetName())[0] | 
| else: | 
|  |