extract_docs: fix reference to undefined typename

Closes #730
This commit is contained in:
Paul m. p. P 2019-09-06 15:57:24 +02:00 committed by rdb
parent df848965fb
commit ec1c3ef347

View File

@ -273,6 +273,7 @@ def processModule(handle, package):
if "panda3d." + package == module_name:
processType(handle, type)
else:
typename = interrogate_type_name(type)
print("Type %s has no module name" % typename)
for i_func in range(interrogate_number_of_global_functions()):
@ -283,7 +284,8 @@ def processModule(handle, package):
if "panda3d." + package == module_name:
processFunction(handle, func)
else:
print("Type %s has no module name" % typename)
funcname = interrogate_function_name(func)
print("Function %s has no module name" % funcname)
print("}", file=handle)