From b6a2628c48ce7639e5f42caf43525fc2b9dae450 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 12 Jun 2020 14:19:29 -0300 Subject: Reenable GDScript LSP server --- modules/gdscript/language_server/gdscript_workspace.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'modules/gdscript/language_server/gdscript_workspace.cpp') 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::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 -- cgit v1.2.3