@@ -576,7 +576,7 @@ let _check_subset : stopped_implicitly -> Token.t = fun t -> (t :> Token.t)
576
576
- The type of token that the block parser stops at. See discussion above. *)
577
577
type ('block, 'stops_at_which_tokens) context =
578
578
| Top_level : (Ast .block_element , stops_at_delimiters ) context
579
- | In_implicitely_ended :
579
+ | In_implicitly_ended :
580
580
[ `Tag | `Shorthand_list ]
581
581
-> (Ast .nestable_block_element , stopped_implicitly ) context
582
582
| In_explicit_list : (Ast .nestable_block_element , stops_at_delimiters ) context
@@ -593,7 +593,7 @@ let accepted_in_all_contexts :
593
593
fun context block ->
594
594
match context with
595
595
| Top_level -> (block :> Ast.block_element )
596
- | In_implicitely_ended (`Tag | `Shorthand_list ) -> block
596
+ | In_implicitly_ended (`Tag | `Shorthand_list ) -> block
597
597
| In_explicit_list -> block
598
598
| In_table_cell -> block
599
599
| In_code_results -> block
@@ -672,7 +672,7 @@ let rec block_element_list :
672
672
| { value = `End ; _ } as next_token -> (
673
673
match context with
674
674
| Top_level -> (List. rev acc, next_token, where_in_line)
675
- | In_implicitely_ended (`Tag | `Shorthand_list ) ->
675
+ | In_implicitly_ended (`Tag | `Shorthand_list ) ->
676
676
(List. rev acc, next_token, where_in_line)
677
677
| In_explicit_list -> (List. rev acc, next_token, where_in_line)
678
678
| In_table_cell -> (List. rev acc, next_token, where_in_line)
@@ -683,7 +683,7 @@ let rec block_element_list :
683
683
possible values of [context]. *)
684
684
match context with
685
685
| Top_level -> (List. rev acc, next_token, where_in_line)
686
- | In_implicitely_ended (`Tag | `Shorthand_list ) ->
686
+ | In_implicitly_ended (`Tag | `Shorthand_list ) ->
687
687
(List. rev acc, next_token, where_in_line)
688
688
| In_explicit_list -> (List. rev acc, next_token, where_in_line)
689
689
| In_table_cell -> (List. rev acc, next_token, where_in_line)
@@ -710,7 +710,7 @@ let rec block_element_list :
710
710
(* Blank lines terminate shorthand lists ([- foo]) and tags. They also
711
711
terminate paragraphs, but the paragraph parser is aware of that
712
712
internally. *)
713
- | In_implicitely_ended (`Tag | `Shorthand_list ) ->
713
+ | In_implicitly_ended (`Tag | `Shorthand_list ) ->
714
714
(List. rev acc, next_token, where_in_line)
715
715
(* Otherwise, blank lines are pretty much like single newlines. *)
716
716
| _ ->
@@ -778,7 +778,7 @@ let rec block_element_list :
778
778
(* If a tag starts at the beginning of a line, it terminates the preceding
779
779
tag and/or the current shorthand list. In this case, return to the
780
780
caller, and let the caller decide how to interpret the tag token. *)
781
- | In_implicitely_ended (`Tag | `Shorthand_list ) ->
781
+ | In_implicitly_ended (`Tag | `Shorthand_list ) ->
782
782
if where_in_line = `At_start_of_line then
783
783
(List. rev acc, next_token, where_in_line)
784
784
else recover_when_not_at_top_level context
@@ -819,7 +819,7 @@ let rec block_element_list :
819
819
consume_block_elements `After_text (tag :: acc)
820
820
| (`Deprecated | `Return ) as tag ->
821
821
let content, _stream_head, where_in_line =
822
- block_element_list (In_implicitely_ended `Tag )
822
+ block_element_list (In_implicitly_ended `Tag )
823
823
~parent_markup: token input
824
824
in
825
825
let tag =
@@ -834,7 +834,7 @@ let rec block_element_list :
834
834
consume_block_elements where_in_line (tag :: acc)
835
835
| (`Param _ | `Raise _ | `Before _ ) as tag ->
836
836
let content, _stream_head, where_in_line =
837
- block_element_list (In_implicitely_ended `Tag )
837
+ block_element_list (In_implicitly_ended `Tag )
838
838
~parent_markup: token input
839
839
in
840
840
let tag =
@@ -850,7 +850,7 @@ let rec block_element_list :
850
850
consume_block_elements where_in_line (tag :: acc)
851
851
| `See (kind , target ) ->
852
852
let content, _next_token, where_in_line =
853
- block_element_list (In_implicitely_ended `Tag )
853
+ block_element_list (In_implicitly_ended `Tag )
854
854
~parent_markup: token input
855
855
in
856
856
let location =
@@ -1023,7 +1023,7 @@ let rec block_element_list :
1023
1023
| _ -> () );
1024
1024
1025
1025
match context with
1026
- | In_implicitely_ended `Shorthand_list ->
1026
+ | In_implicitly_ended `Shorthand_list ->
1027
1027
(List. rev acc, next_token, where_in_line)
1028
1028
| _ ->
1029
1029
let items, where_in_line =
@@ -1060,7 +1060,7 @@ let rec block_element_list :
1060
1060
in
1061
1061
1062
1062
match context with
1063
- | In_implicitely_ended (`Tag | `Shorthand_list ) ->
1063
+ | In_implicitly_ended (`Tag | `Shorthand_list ) ->
1064
1064
if where_in_line = `At_start_of_line then
1065
1065
(List. rev acc, next_token, where_in_line)
1066
1066
else recover_when_not_at_top_level context
@@ -1171,11 +1171,11 @@ let rec block_element_list :
1171
1171
let where_in_line =
1172
1172
match context with
1173
1173
| Top_level -> `At_start_of_line
1174
- | In_implicitely_ended `Shorthand_list -> `After_shorthand_bullet
1174
+ | In_implicitly_ended `Shorthand_list -> `After_shorthand_bullet
1175
1175
| In_explicit_list -> `After_explicit_list_bullet
1176
1176
| In_table_cell -> `After_table_cell
1177
1177
| In_code_results -> `After_tag
1178
- | In_implicitely_ended `Tag -> `After_tag
1178
+ | In_implicitly_ended `Tag -> `After_tag
1179
1179
in
1180
1180
1181
1181
consume_block_elements where_in_line []
@@ -1215,7 +1215,7 @@ and shorthand_list_items :
1215
1215
junk input;
1216
1216
1217
1217
let content, stream_head, where_in_line =
1218
- block_element_list (In_implicitely_ended `Shorthand_list )
1218
+ block_element_list (In_implicitly_ended `Shorthand_list )
1219
1219
~parent_markup: bullet input
1220
1220
in
1221
1221
if content = [] then
0 commit comments