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

Fix for mixed tabs and spaces in gdscript

This commit is contained in:
MistMage
2023-04-20 12:08:23 +02:00
parent 27253f3eb2
commit fecbc12d17

View File

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