File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11-- ----------------------------------------------------------------------------
22-- GNAT Documentation Generation Tool --
33-- --
4- -- Copyright (C) 2022, AdaCore --
4+ -- Copyright (C) 2022-2023 , 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- --
@@ -113,6 +113,11 @@ package body GNATdoc.Comments.Builders.Subprograms is
113113 Token := Previous (Token);
114114 end loop ;
115115
116+ Self.Restart_Component_Group (Returns_Section.Exact_Start_Line);
117+ -- Restart components group to include all comments after last
118+ -- parameter till line with return keyword into the documentation
119+ -- of the parameter.
120+
116121 if Options.Style = Leading then
117122 -- In leading style, set attitional range to lookup
118123 -- comments.
You can’t perform that action at this time.
0 commit comments