Merge pull request #76286 from MystMagus/gdscript-mixed-tabs-and-spaces-fix

Fix for mixed tabs and spaces in gdscript
This commit is contained in:
Rémi Verschelde 2023-04-20 18:08:47 +02:00
commit bf62af334b
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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;