summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-02-24 00:15:53 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-02-24 00:15:53 +0100
commitc8071dfce867dc3b1ac252099082008d102f1a88 (patch)
tree2b016c2cac6ceb501457c49b55d117602fc3f0da /modules
parent32e1a56cd3b016d6834fdd0734da0e2b8fbb5c6c (diff)
parentcea8e97c11b684462f6875e40168691b5c9165e9 (diff)
Merge pull request #3812 from est31/master
Fix typo in error
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 b6e8478846..4f572b7b6e 100644
--- a/modules/gdscript/gd_parser.cpp
+++ b/modules/gdscript/gd_parser.cpp
@@ -1790,7 +1790,7 @@ void GDParser::_parse_block(BlockNode *p_block,bool p_static) {
p_block->sub_blocks.push_back(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();
return;
}