File tree Expand file tree Collapse file tree 4 files changed +90
-169
lines changed
testsuite/ada_lsp/editor.incremental Expand file tree Collapse file tree 4 files changed +90
-169
lines changed Original file line number Diff line number Diff line change 11--
2- -- Copyright (C) 2018-2024 , AdaCore
2+ -- Copyright (C) 2018-2025 , AdaCore
33--
44-- SPDX-License-Identifier: Apache-2.0
55--
@@ -12,6 +12,7 @@ with "ada_libfswatch.gpr";
1212with "libgnatdoc.gpr";
1313with "spawn.gpr";
1414with "gnatformat.gpr";
15+ with "vss_os.gpr";
1516with "xdiff.gpr";
1617
1718with "lsp_3_17";
Original file line number Diff line number Diff line change 11------------------------------------------------------------------------------
22-- Language Server Protocol --
33-- --
4- -- Copyright (C) 2018, AdaCore --
4+ -- Copyright (C) 2018-2025 , AdaCore --
55-- --
66-- This is free software; you can redistribute it and/or modify it under --
77-- terms of the GNU General Public License as published by the Free Soft- --
1717
1818with "lsp_client";
1919with "gnatcoll";
20+ with "vss_os.gpr";
2021
2122project Tester is
2223
Original file line number Diff line number Diff line change @@ -741,7 +741,7 @@ package body LSP.Ada_Highlighters is
741741 end case ;
742742 end To_Kind ;
743743
744- Failsafe_Def : Libadalang.Analysis.Refd_Def ;
744+ Failsafe_Decl : Libadalang.Analysis.Refd_Decl ;
745745 Def : Libadalang.Analysis.Defining_Name;
746746 Decl : Libadalang.Analysis.Basic_Decl;
747747 Kind : LSP.Enumerations.SemanticTokenTypes;
@@ -772,8 +772,8 @@ package body LSP.Ada_Highlighters is
772772 Highlight_Token (Node.Token_Start, declaration);
773773 end ;
774774 else
775- Failsafe_Def := Node.P_Failsafe_Referenced_Def_Name (True);
776- Def := Libadalang.Analysis.Defining_Name (Failsafe_Def .Def_Name);
775+ Failsafe_Decl := Node.P_Failsafe_Referenced_Decl (True);
776+ Def := Libadalang.Analysis.Defining_Name (Failsafe_Decl .Def_Name);
777777 end if ;
778778
779779 if Node.Kind in Libadalang.Common.Ada_Name then
You can’t perform that action at this time.
0 commit comments