Ver código fonte

Fix typo in Parser Error message

(cherry picked from commit d35fab7382107c062b60aa770dea223d5a932ff6)
curtisxk38 8 anos atrás
pai
commit
5a1bcae6c2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      modules/gdscript/gd_parser.cpp

+ 1 - 1
modules/gdscript/gd_parser.cpp

@@ -1746,7 +1746,7 @@ void GDParser::_parse_block(BlockNode *p_block, bool p_static) {
 				p_block->sub_blocks.push_back(cf_if->body);
 				p_block->sub_blocks.push_back(cf_if->body);
 
 
 				if (!_enter_indent_block(cf_if->body)) {
 				if (!_enter_indent_block(cf_if->body)) {
-					_set_error("Expected intended block after 'if'");
+					_set_error("Expected indented block after 'if'");
 					p_block->end_line = tokenizer->get_token_line();
 					p_block->end_line = tokenizer->get_token_line();
 					return;
 					return;
 				}
 				}