Browse Source

Revert expression reduction from #7390

Fixes #7412.
Rémi Verschelde 8 years ago
parent
commit
dcc4ee21c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/gdscript/gd_parser.cpp

+ 1 - 1
modules/gdscript/gd_parser.cpp

@@ -2023,7 +2023,7 @@ void GDParser::_parse_block(BlockNode *p_block,bool p_static) {
 			} break;
 			} break;
 			default: {
 			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 (!expression) {
 					if (_recover_from_completion()) {
 					if (_recover_from_completion()) {
 						break;
 						break;