Index: ppapi/generators/idl_parser.py |
diff --git a/ppapi/generators/idl_parser.py b/ppapi/generators/idl_parser.py |
index 6f0ea12436697fc419e75faa3a71dfa687a3a9ac..8c8a82ff2f79f7e803c5cd90506f09b4ab2c385e 100755 |
--- a/ppapi/generators/idl_parser.py |
+++ b/ppapi/generators/idl_parser.py |
@@ -310,6 +310,14 @@ class IDLParser(IDLLexer): |
"""dictionary_block : modifiers DICTIONARY SYMBOL '{' struct_list '}' ';'""" |
p[0] = self.BuildNamed('Dictionary', p, 3, ListFromConcat(p[1], p[5])) |
+ def p_dictionary_errorA(self, p): |
+ """dictionary_block : modifiers DICTIONARY error ';'""" |
+ p[0] = [] |
+ |
+ def p_dictionary_errorB(self, p): |
+ """dictionary_block : modifiers DICTIONARY error '{' struct_list '}' ';'""" |
+ p[0] = [] |
+ |
# |
# Callback |
# |