mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Change GDScript compiler to use codegen abstraction
This commit is contained in:
parent
82273ebc01
commit
745ca3059d
6 changed files with 1085 additions and 1773 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue