Skip to content

Commit 3c5a0e5

Browse files
pmderodatAnthonyLeonardoGracio
authored andcommitted
lsp-utils.adb: update after recent internal API changes in Langkit
(cherry picked from commit 879c421)
1 parent ce9e738 commit 3c5a0e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/ada/lsp-utils.adb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ with Libadalang.Sources;
2424
with Langkit_Support.Diagnostics;
2525
with Langkit_Support.Symbols;
2626
with Langkit_Support.Token_Data_Handlers;
27+
with Langkit_Support.Types;
2728
with Pp.Actions;
2829

2930
with VSS.Strings.Character_Iterators;
@@ -202,7 +203,7 @@ package body LSP.Utils is
202203

203204
procedure Tokenize_Output is
204205
Input : constant Libadalang.Lexer.Lexer_Input :=
205-
(Kind => Libadalang.Common.Bytes_Buffer,
206+
(Kind => Langkit_Support.Types.Bytes_Buffer,
206207
Charset => Ada.Strings.Unbounded.To_Unbounded_String ("utf-8"),
207208
Read_BOM => False,
208209
Bytes => To_Unbounded_String (Output));

0 commit comments

Comments
 (0)