Allow using empty statements in the shader, added formatting warning
This commit is contained in:
parent
e223a9c129
commit
5ba93619fa
7 changed files with 31 additions and 3 deletions
|
|
@ -1318,6 +1318,9 @@ String ShaderCompilerRD::_dump_node_code(const SL::Node *p_node, int p_level, Ge
|
|||
code += ")";
|
||||
|
||||
} break;
|
||||
case SL::OP_EMPTY: {
|
||||
// Semicolon (or empty statement) - ignored.
|
||||
} break;
|
||||
|
||||
default: {
|
||||
if (p_use_scope) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue