mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
cppparser: fix formatting of typecast operator
This commit is contained in:
parent
b1d2111037
commit
5da8b63a66
@ -292,6 +292,10 @@ output_instance(ostream &out, int indent_level, CPPScope *scope,
|
||||
|
||||
out << str;
|
||||
|
||||
} else if (_flags & F_operator_typecast) {
|
||||
out << "operator ";
|
||||
_return_type->output_instance(out, indent_level, scope, complete, "", prename + str);
|
||||
|
||||
} else {
|
||||
if (prename.empty()) {
|
||||
_return_type->output_instance(out, indent_level, scope, complete,
|
||||
|
Loading…
x
Reference in New Issue
Block a user