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

Fix C# parsing the full name of base types

Previously it would fail if the type name included its namespace.
This commit is contained in:
Ignacio Etcheverry
2018-10-28 01:31:17 +02:00
parent aa6876df50
commit 2cf02f302f
3 changed files with 107 additions and 45 deletions

View File

@@ -52,13 +52,18 @@ private:
TK_OP_LESS,
TK_OP_GREATER,
TK_EOF,
TK_ERROR
TK_ERROR,
TK_MAX
};
static const char *token_names[TK_MAX];
static String get_token_name(Token p_token);
Token get_token();
Error _skip_type_parameters();
Error _skip_generic_type_params();
Error _parse_type_full_name(String &r_full_name);
Error _parse_class_base(Vector<String> &r_base);
Error _parse_namespace_name(String &r_name, int &r_curly_stack);