Fix for mixed tabs and spaces in gdscript

(cherry picked from commit fecbc12d17)
This commit is contained in:
MistMage 2023-04-20 12:08:23 +02:00 committed by Yuri Sizov
parent c893968b33
commit 4d38529284

View File

@ -1099,7 +1099,7 @@ void GDScriptTokenizer::check_indent() {
_advance();
}
if (mixed) {
if (mixed && !(line_continuation || multiline_mode)) {
Token error = make_error("Mixed use of tabs and spaces for indentation.");
error.start_line = line;
error.start_column = 1;