Skip to content

Commit 3d9e8b6

Browse files
committed
Add message to raise statement.
1 parent b895790 commit 3d9e8b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/backend/xml/gnatdoc-comments-xml_helpers.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ package body GNATdoc.Comments.XML_Helpers is
8989
when others =>
9090
-- Should never happened
9191

92-
raise Program_Error;
92+
raise Program_Error with "unexpected kind of section";
9393
end case;
9494

9595
Attributes.Clear;

0 commit comments

Comments
 (0)