1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #107717 from aaronfranke/abstract-annotation

GDScript: Replace `abstract` keyword with `@abstract` annotation
This commit is contained in:
Rémi Verschelde
2025-06-27 17:12:56 +02:00
committed by GitHub
31 changed files with 179 additions and 197 deletions

View File

@@ -2749,7 +2749,6 @@ Vector<String> GDScriptLanguage::get_reserved_words() const {
"when",
"while",
// Declarations.
"abstract",
"class",
"class_name",
"const",
@@ -2915,7 +2914,7 @@ String GDScriptLanguage::get_global_class_name(const String &p_path, String *r_b
*r_icon_path = c->simplified_icon_path;
}
if (r_is_abstract) {
*r_is_abstract = false;
*r_is_abstract = c->is_abstract;
}
if (r_is_tool) {
*r_is_tool = parser.is_tool();