We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50874f4 commit 9dccd03Copy full SHA for 9dccd03
source/gnatdoc-comments-extractor-code_snippets.adb
@@ -279,10 +279,9 @@ package body GNATdoc.Comments.Extractor.Code_Snippets is
279
and then not Node.As_Object_Decl.F_Default_Expr.Is_Null
280
then
281
declare
282
- Is_Array : Boolean := False;
+ Is_Array : Boolean;
283
284
begin
285
-
286
if Node.As_Object_Decl.F_Type_Expr.Kind = Ada_Anonymous_Type
287
and then Node.As_Object_Decl.F_Type_Expr.As_Anonymous_Type
288
.F_Type_Decl.Kind = Ada_Anonymous_Type_Decl
@@ -308,7 +307,7 @@ package body GNATdoc.Comments.Extractor.Code_Snippets is
308
307
Is_Array := True;
309
310
else
311
- raise Program_Error;
+ Is_Array := False;
312
end if;
313
314
if Is_Array then
0 commit comments