feat: updated godot version

This commit is contained in:
Sara Gerretsen 2026-04-04 19:38:56 +02:00
parent 0c508b0831
commit 42b028dbb5
4694 changed files with 236470 additions and 401376 deletions

View file

@ -35,7 +35,6 @@
#include "../gdscript_parser.h"
#include "../gdscript_tokenizer.h"
#include "../gdscript_tokenizer_buffer.h"
#include "gdscript_test_runner.h"
#include "core/config/project_settings.h"
#include "core/io/file_access.h"
@ -176,7 +175,7 @@ static void test_parser(const String &p_code, const String &p_script_path, const
if (err != OK) {
const List<GDScriptParser::ParserError> &errors = parser.get_errors();
for (const GDScriptParser::ParserError &error : errors) {
print_line(vformat("%02d:%02d: %s", error.start_line, error.start_column, error.message));
print_line(vformat("%02d:%02d: %s", error.line, error.column, error.message));
}
}
@ -186,7 +185,7 @@ static void test_parser(const String &p_code, const String &p_script_path, const
if (err != OK) {
const List<GDScriptParser::ParserError> &errors = parser.get_errors();
for (const GDScriptParser::ParserError &error : errors) {
print_line(vformat("%02d:%02d: %s", error.start_line, error.start_column, error.message));
print_line(vformat("%02d:%02d: %s", error.line, error.column, error.message));
}
}
@ -262,7 +261,7 @@ static void test_compiler(const String &p_code, const String &p_script_path, con
print_line("Error in parser:");
const List<GDScriptParser::ParserError> &errors = parser.get_errors();
for (const GDScriptParser::ParserError &error : errors) {
print_line(vformat("%02d:%02d: %s", error.start_line, error.start_column, error.message));
print_line(vformat("%02d:%02d: %s", error.line, error.column, error.message));
}
return;
}
@ -274,7 +273,7 @@ static void test_compiler(const String &p_code, const String &p_script_path, con
print_line("Error in analyzer:");
const List<GDScriptParser::ParserError> &errors = parser.get_errors();
for (const GDScriptParser::ParserError &error : errors) {
print_line(vformat("%02d:%02d: %s", error.start_line, error.start_column, error.message));
print_line(vformat("%02d:%02d: %s", error.line, error.column, error.message));
}
return;
}