summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/csharp_project.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2018-10-28 01:31:17 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2018-10-28 01:31:27 +0200
commit2cf02f302fd39e75af557737be61b891bebabc30 (patch)
treec682fb863bfe88adc995a17bd66565b94e0fde02 /modules/mono/editor/csharp_project.cpp
parentaa6876df5068141014930052428df4bbbd549ca5 (diff)
downloadredot-engine-2cf02f302fd39e75af557737be61b891bebabc30.tar.gz
Fix C# parsing the full name of base types
Previously it would fail if the type name included its namespace.
Diffstat (limited to 'modules/mono/editor/csharp_project.cpp')
-rw-r--r--modules/mono/editor/csharp_project.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/editor/csharp_project.cpp b/modules/mono/editor/csharp_project.cpp
index 03db765c2e..ab96356d6d 100644
--- a/modules/mono/editor/csharp_project.cpp
+++ b/modules/mono/editor/csharp_project.cpp
@@ -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);
}