소스 검색

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

Fix for mixed tabs and spaces in gdscript
Rémi Verschelde 2 년 전
부모
커밋
bf62af334b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/gdscript/gdscript_tokenizer.cpp

+ 1 - 1
modules/gdscript/gdscript_tokenizer.cpp

@@ -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;