Revert expression reduction from #7390

Fixes #7412.
This commit is contained in:
Rémi Verschelde 2017-01-02 20:01:27 +01:00
parent c9366f8b56
commit dcc4ee21c1

View file

@ -2023,7 +2023,7 @@ void GDParser::_parse_block(BlockNode *p_block,bool p_static) {
} break;
default: {
Node *expression = _parse_and_reduce_expression(p_block,p_static,true,true);
Node *expression = _parse_and_reduce_expression(p_block,p_static,false,true);
if (!expression) {
if (_recover_from_completion()) {
break;