Properly report a valid error instead of reporting as a bug, closes #3841

(cherry picked from commit 95e3279d34)
This commit is contained in:
Juan Linietsky 2016-06-24 10:30:36 -03:00 committed by Rémi Verschelde
parent c2226d1199
commit 6e49bc8210
1 changed files with 2 additions and 2 deletions

View File

@ -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,
// due to how precedence works, unaries will always dissapear first
_set_error("Parser bug..");
_set_error("Unexpected two consecutive operators.");
return NULL;
}