From 73ef3212b3966f40fc3ee2a55a4abf05657811ef Mon Sep 17 00:00:00 2001 From: Paul-Elliot Date: Mon, 4 Dec 2023 16:00:56 +0100 Subject: [PATCH] Fix @since annotation on parser's AST for media Signed-off-by: Paul-Elliot --- src/parser/ast.ml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/parser/ast.ml b/src/parser/ast.ml index f3386a308f..2053c7113b 100644 --- a/src/parser/ast.ml +++ b/src/parser/ast.ml @@ -65,7 +65,8 @@ and nestable_block_element = reference_kind * media_href with_location * inline_element with_location list - * media (** @since 2.3.0 *)] + * media + (** @since 2.5.0 *) ] (** Some block elements may be nested within lists or tags, but not all. The [`List] constructor has a parameter of type [\[`Light | `Heavy\]]. This corresponds to the syntactic constructor used (see the @@ -98,8 +99,6 @@ type tag = [ ocamldoc_tag | internal_tag ] type heading = int * string option * inline_element with_location list type block_element = - [ nestable_block_element - | `Heading of heading - | `Tag of tag ] + [ nestable_block_element | `Heading of heading | `Tag of tag ] type t = block_element with_location list