···999999 declaration_name)10001000 found = True10011001 break10021002+ #10031003+ # Parsing done; make sure that things are as we expect.10041004+ #10021005 if not found:10031006 self.emit_msg(ln,10041007 f"cannot understand function prototype: '{prototype}'")10051008 return10061006-10071009 if self.entry.identifier != declaration_name:10081008- self.emit_msg(ln,10091009- f"expecting prototype for {self.entry.identifier}(). Prototype was for {declaration_name}() instead")10101010+ self.emit_msg(ln, f"expecting prototype for {self.entry.identifier}(). "10111011+ f"Prototype was for {declaration_name}() instead")10101012 return10111011-10121013 self.check_sections(ln, declaration_name, "function")10131013-10141014 self.check_return_section(ln, declaration_name, return_type)10151015+ #10161016+ # Store the result.10171017+ #10181018+ self.output_declaration(decl_type, declaration_name,10191019+ typedef=('typedef' in return_type),10201020+ functiontype=return_type,10211021+ purpose=self.entry.declaration_purpose,10221022+ func_macro=func_macro)1015102310161016- if 'typedef' in return_type:10171017- self.output_declaration(decl_type, declaration_name,10181018- typedef=True,10191019- functiontype=return_type,10201020- purpose=self.entry.declaration_purpose,10211021- func_macro=func_macro)10221022- else:10231023- self.output_declaration(decl_type, declaration_name,10241024- typedef=False,10251025- functiontype=return_type,10261026- purpose=self.entry.declaration_purpose,10271027- func_macro=func_macro)1028102410291025 def dump_typedef(self, ln, proto):10301026 """