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

@ -167,6 +167,7 @@ Error generate_scripts_metadata(const String &p_project_path, const String &p_ou
ScriptClassParser scp;
Error err = scp.parse_file(project_file);
if (err != OK) {
ERR_PRINTS("Parse error: " + scp.get_error());
ERR_EXPLAIN("Failed to determine namespace and class for script: " + project_file);
ERR_FAIL_V(err);
}