summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-02 20:01:27 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-02 20:01:27 +0100
commitdcc4ee21c14c1d3fc40c2058e41f853e8ce989c6 (patch)
tree5888f6d359828f0c5a14988d075ab1df7c3e18ad /modules
parentc9366f8b563c186b4d0ab09088d09d47580f749d (diff)
Revert expression reduction from #7390
Fixes #7412.
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gd_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_parser.cpp b/modules/gdscript/gd_parser.cpp
index 8127324d2e..6520e27c9f 100644
--- a/modules/gdscript/gd_parser.cpp
+++ b/modules/gdscript/gd_parser.cpp
@@ -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;