Fix typo in error

This commit is contained in:
est31 2016-02-24 00:08:53 +01:00 committed by Rémi Verschelde
parent b05c27a27f
commit 7ba92ae9eb

View file

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