aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_tokenizer.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-01-02 13:56:58 -0300
committerJuan Linietsky2016-01-02 13:56:58 -0300
commit0e0a7c9494622543e4ca2a865f3784babc4a2a78 (patch)
tree1b35dce7e6f3c2859d8f07e702a88cd52cc81f84 /modules/gdscript/gd_tokenizer.cpp
parent27c47e09a183359706ef2497da9278b46f9190b6 (diff)
downloadgodot-0e0a7c9494622543e4ca2a865f3784babc4a2a78.tar.gz
godot-0e0a7c9494622543e4ca2a865f3784babc4a2a78.tar.zst
godot-0e0a7c9494622543e4ca2a865f3784babc4a2a78.zip
Diffstat (limited to 'modules/gdscript/gd_tokenizer.cpp')
-rw-r--r--modules/gdscript/gd_tokenizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp
index bebdef83a..61738146a 100644
--- a/modules/gdscript/gd_tokenizer.cpp
+++ b/modules/gdscript/gd_tokenizer.cpp
@@ -260,6 +260,7 @@ void GDTokenizerText::_advance() {
}
INCPOS(1);
+ line++;
while(GETCHAR(0)==' ' || GETCHAR(0)=='\t') {
INCPOS(1);