Skip to content

Commit 975bdde

Browse files
committed
Fix @SInCE annotation on parser's AST for media
Signed-off-by: Paul-Elliot <[email protected]>
1 parent 5b1333c commit 975bdde

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/parser/ast.ml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ and nestable_block_element =
6565
reference_kind
6666
* media_href with_location
6767
* inline_element with_location list
68-
* media (** @since 2.3.0 *)]
68+
* media
69+
(** @since 2.5.0 *) ]
6970
(** Some block elements may be nested within lists or tags, but not all.
7071
The [`List] constructor has a parameter of type [\[`Light | `Heavy\]].
7172
This corresponds to the syntactic constructor used (see the
@@ -98,8 +99,6 @@ type tag = [ ocamldoc_tag | internal_tag ]
9899
type heading = int * string option * inline_element with_location list
99100

100101
type block_element =
101-
[ nestable_block_element
102-
| `Heading of heading
103-
| `Tag of tag ]
102+
[ nestable_block_element | `Heading of heading | `Tag of tag ]
104103

105104
type t = block_element with_location list

0 commit comments

Comments
 (0)