1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

-properly handle newline in \ (line continuation) in gdscript, fixes #2112

-also fix a small crash in export detection with scripts that include themselves
This commit is contained in:
Juan Linietsky
2016-01-02 13:56:58 -03:00
parent 27c47e09a1
commit 0e0a7c9494
2 changed files with 12 additions and 17 deletions

View File

@@ -260,6 +260,7 @@ void GDTokenizerText::_advance() {
}
INCPOS(1);
line++;
while(GETCHAR(0)==' ' || GETCHAR(0)=='\t') {
INCPOS(1);