diff options
author | George Marques <george@gmarqu.es> | 2020-06-12 14:19:29 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2020-07-20 11:38:40 -0300 |
commit | b6a2628c48ce7639e5f42caf43525fc2b9dae450 (patch) | |
tree | 8f1ffee85a94eef0e90450ef5cd64ba7f0b8c800 /modules/gdscript/language_server/gdscript_workspace.cpp | |
parent | dadfcd8aba8df696f7c608866a34b4e5ee55a0bf (diff) |
Reenable GDScript LSP server
Diffstat (limited to 'modules/gdscript/language_server/gdscript_workspace.cpp')
-rw-r--r-- | modules/gdscript/language_server/gdscript_workspace.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/gdscript/language_server/gdscript_workspace.cpp b/modules/gdscript/language_server/gdscript_workspace.cpp index 1e2637e7e1..776193e37c 100644 --- a/modules/gdscript/language_server/gdscript_workspace.cpp +++ b/modules/gdscript/language_server/gdscript_workspace.cpp @@ -28,9 +28,6 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -// FIXME: Reenable LSP. -#if 0 - #include "gdscript_workspace.h" #include "../gdscript.h" @@ -121,7 +118,7 @@ void GDScriptWorkspace::reload_all_workspace_scripts() { Map<String, ExtendGDScriptParser *>::Element *S = parse_results.find(path); String err_msg = "Failed parse script " + path; if (S) { - err_msg += "\n" + S->get()->get_error(); + err_msg += "\n" + S->get()->get_errors()[0].message; } ERR_CONTINUE_MSG(err != OK, err_msg); } @@ -621,5 +618,3 @@ GDScriptWorkspace::~GDScriptWorkspace() { remove_cache_parser(E->get()); } } - -#endif |