You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
merges from okam repo
This commit is contained in:
@@ -2058,7 +2058,9 @@ Error ShaderLanguage::parse_expression(Parser& parser,Node *p_parent,Node **r_ex
|
||||
at+=get_datatype_name(compute_node_type(op->arguments[i]));
|
||||
|
||||
}
|
||||
parser.set_error("Invalid arguments to operator "+String(token_names[op->op])+": "+at);
|
||||
static const char *op_names[OP_MAX]={"=","+","-","*","/","+=","-=","*=","/=","-","!","==","!=","<=",">=","<",">","||","&&","call","()"};
|
||||
|
||||
parser.set_error("Invalid arguments to operator "+String(op_names[op->op])+": "+at);
|
||||
return ERR_PARSE_ERROR;
|
||||
}
|
||||
expression.remove(next_op);
|
||||
|
||||
Reference in New Issue
Block a user