Skip to content

Commit a702801

Browse files
joaopsazevedosetton
authored andcommitted
Adjust Format_Vector call to new API
1 parent c3a6032 commit a702801

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/ada/lsp-lal_utils.adb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,11 +1638,10 @@ package body LSP.Lal_Utils is
16381638
-- Corresponding To-token in Output document
16391639
Ignore : Utils.Char_Vectors.Char_Subrange;
16401640
Ok : Boolean;
1641+
16411642
begin
1642-
-- it seems that Format_Vector does not use In_/Out_Range properly, so
1643-
-- using full text for now
16441643
Pp.Actions.Format_Vector
1645-
(Cmd, Input, Node, Input.Full_Range, Output, Ignore, Messages);
1644+
(Cmd, Input, Node, Output, Messages);
16461645

16471646
if In_Sloc = Langkit_Support.Slocs.No_Source_Location_Range then
16481647
-- Return full range of Output

0 commit comments

Comments
 (0)