Py.hpp, GodotScript.hpp: Add missing pass after empty else branches
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
2758a2e95a
commit
76cc701dd7
|
@ -33,6 +33,7 @@ struct GsTarget: Target {
|
|||
} else output << "else";
|
||||
output << ':' << separator << indentation;
|
||||
separate_transpileTree(parseComponent, 1);
|
||||
if (parseComponent.empty()) output << "pass";
|
||||
)
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@ struct PyTarget: Target {
|
|||
} else output << "else";
|
||||
output << ':' << separator << indentation;
|
||||
separate_transpileTree(parseComponent, 1);
|
||||
if (parseComponent.empty()) output << "pass";
|
||||
),
|
||||
make_task(StandardComponents::Reference,
|
||||
if (parseComponent.name == "true" or parseComponent.name == "false") {
|
||||
|
|
Loading…
Reference in New Issue