Skip to content

Commit 7a57843

Browse files
committed
Update after changes in markdown
1 parent f268fdf commit 7a57843

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/backend/odf/gnatdoc-backend-odf_markup.adb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
with VSS.IRIs;
1919
with VSS.XML.Events;
2020

21-
with Markdown.Annotations.Visitors;
21+
with Markdown.Inlines.Visitors;
2222
with Markdown.Block_Containers;
2323
with Markdown.Blocks.Indented_Code;
2424
with Markdown.Blocks.Lists;
@@ -57,7 +57,7 @@ package body GNATdoc.Backend.ODF_Markup is
5757
-- Names of styles predefined by GNATdoc
5858

5959
type Annotated_Text_Builder is
60-
limited new Markdown.Annotations.Visitors.Annotated_Text_Visitor with
60+
limited new Markdown.Inlines.Visitors.Annotated_Text_Visitor with
6161
record
6262
Image : Boolean := False;
6363
Text : VSS.Strings.Virtual_String;
@@ -98,7 +98,7 @@ package body GNATdoc.Backend.ODF_Markup is
9898

9999
procedure Build_Annotated_Text
100100
(Result : in out VSS.XML.Event_Vectors.Vector;
101-
Item : Markdown.Annotations.Annotated_Text'Class);
101+
Item : Markdown.Inlines.Inline_Vector'Class);
102102

103103
procedure Build_Block
104104
(Result : in out VSS.XML.Event_Vectors.Vector;
@@ -146,10 +146,10 @@ package body GNATdoc.Backend.ODF_Markup is
146146

147147
procedure Build_Annotated_Text
148148
(Result : in out VSS.XML.Event_Vectors.Vector;
149-
Item : Markdown.Annotations.Annotated_Text'Class)
149+
Item : Markdown.Inlines.Inline_Vector'Class)
150150
is
151151
Visitor : Annotated_Text_Builder;
152-
Iterator : Markdown.Annotations.Visitors.Annotated_Text_Iterator;
152+
Iterator : Markdown.Inlines.Visitors.Annotated_Text_Iterator;
153153

154154
begin
155155
Iterator.Iterate (Item, Visitor);

0 commit comments

Comments
 (0)