mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
handle error better
This commit is contained in:
parent
37cd123d37
commit
07e3f33fd2
@ -129,6 +129,7 @@ def processType(handle, type):
|
||||
classtype = "union"
|
||||
else:
|
||||
print "I don't know what type %s is" % typename
|
||||
return
|
||||
|
||||
if len(derivations) > 0:
|
||||
print >>handle, "%s %s : public %s {" % (classtype, typename, ", public ".join(derivations))
|
||||
|
Loading…
x
Reference in New Issue
Block a user