Skip to content

Commit

Permalink
Fix @SInCE annotation on parser's AST for media
Browse files Browse the repository at this point in the history
Signed-off-by: Paul-Elliot <[email protected]>
  • Loading branch information
panglesd committed Jan 9, 2024
1 parent e936004 commit 73ef321
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/parser/ast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 73ef321

Please sign in to comment.