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