You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Disallow using of both tabs and spaces for indentation in the same file
Closes #7898
This commit is contained in:
@@ -222,6 +222,12 @@ class GDScriptTokenizerText : public GDScriptTokenizer {
|
||||
int tk_rb_pos;
|
||||
String last_error;
|
||||
bool error_flag;
|
||||
enum {
|
||||
INDENT_NONE,
|
||||
INDENT_SPACES,
|
||||
INDENT_TABS,
|
||||
} file_indent_type;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
Vector<Pair<int, String> > warning_skips;
|
||||
Set<String> warning_global_skips;
|
||||
|
||||
Reference in New Issue
Block a user