Comment has been incorrect since the first imported version of the frontend.
The procedure is the same as Sprint_Node_List, not Sprint_Line_List (function
seems to have never existed, so it's probably a very old typo).
gcc/ada/ChangeLog:
* sprint.ads (Sprint_Indented_List): Adjust comment.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/sprint.ads | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/sprint.ads b/gcc/ada/sprint.ads
index 6b2a71ba97e..73b47efe611 100644
--- a/gcc/ada/sprint.ads
+++ b/gcc/ada/sprint.ads
@@ -125,7 +125,7 @@ package Sprint is
-- Like Sprint_Node_List, but prints nothing if List = No_List
procedure Sprint_Indented_List (List : List_Id);
- -- Like Sprint_Line_List, except that the indentation level is increased
+ -- Like Sprint_Node_List, except that the indentation level is increased
-- before outputting the list of items, and then decremented (back to its
-- original level) before returning to the caller.
--
2.53.0