diff options
author | George Marques <george@gmarqu.es> | 2020-09-01 18:26:52 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 18:26:52 -0300 |
commit | 8e052e1a06942816de113bfc0834eef9f5fc67a2 (patch) | |
tree | 4aa18cbea1399ffa6cda339b5b84771b5b31ee15 /modules/gdscript/gdscript_tokenizer.cpp | |
parent | 23ce1dbfd590341cb9439bfd04fede3f70336d0a (diff) | |
parent | 635c6a0a185e590d041f5fee8297b98ec50b24b4 (diff) |
Merge pull request #41338 from vnen/gdscript-compiler-abstraction
Add GDScript code generation abstraction
Diffstat (limited to 'modules/gdscript/gdscript_tokenizer.cpp')
-rw-r--r-- | modules/gdscript/gdscript_tokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_tokenizer.cpp b/modules/gdscript/gdscript_tokenizer.cpp index 0145ac39ff..f5cf1e29f0 100644 --- a/modules/gdscript/gdscript_tokenizer.cpp +++ b/modules/gdscript/gdscript_tokenizer.cpp @@ -1039,7 +1039,7 @@ void GDScriptTokenizer::check_indent() { // First time indenting, choose character now. indent_char = current_indent_char; } else if (current_indent_char != indent_char) { - Token error = make_error(vformat("Used \"%c\" for indentation instead \"%c\" as used before in the file.", String(¤t_indent_char, 1).c_escape(), String(&indent_char, 1).c_escape())); + Token error = make_error(vformat("Used \"%s\" for indentation instead \"%s\" as used before in the file.", String(¤t_indent_char, 1).c_escape(), String(&indent_char, 1).c_escape())); error.start_line = line; error.start_column = 1; error.leftmost_column = 1; |