You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Properly report a valid error instead of reporting as a bug, closes #3841
This commit is contained in:
@@ -1069,8 +1069,8 @@ GDParser::Node* GDParser::_parse_expression(Node *p_parent,bool p_static,bool p_
|
|||||||
// can be followed by an unary op in a valid combination,
|
// can be followed by an unary op in a valid combination,
|
||||||
// due to how precedence works, unaries will always dissapear first
|
// due to how precedence works, unaries will always dissapear first
|
||||||
|
|
||||||
_set_error("Parser bug..");
|
_set_error("Unexpected two consecutive operators.");
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user