| Index: tools/idl_parser/idl_parser.py
|
| diff --git a/tools/idl_parser/idl_parser.py b/tools/idl_parser/idl_parser.py
|
| index 0fa9b616bae8672ba6a760a90f90e60a2c0dc430..bfe6698771ff5400ea36ad4bd21b56f9c293adba 100755
|
| --- a/tools/idl_parser/idl_parser.py
|
| +++ b/tools/idl_parser/idl_parser.py
|
| @@ -229,6 +229,11 @@ class IDLParser(object):
|
| """Interface : INTERFACE identifier Inheritance '{' InterfaceMembers '}' ';'"""
|
| p[0] = self.BuildNamed('Interface', p, 2, ListFromConcat(p[3], p[5]))
|
|
|
| + # [5.1] Error recovery for interface.
|
| + def p_InterfaceError(self, p):
|
| + """Interface : INTERFACE identifier Inheritance '{' error"""
|
| + p[0] = self.BuildError(p, 'Interface')
|
| +
|
| # [6]
|
| def p_Partial(self, p):
|
| """Partial : PARTIAL PartialDefinition"""
|
|
|