@@ -130,7 +130,7 @@ module Reader = struct
130
130
consume ()
131
131
132
132
module Infix = struct
133
- let ( let >> ) consume if_token =
133
+ let ( > >> ) consume if_token =
134
134
match consume with
135
135
| `End (ret , loc ) -> (ret, loc)
136
136
| `Token t -> if_token t
@@ -1250,7 +1250,7 @@ and explicit_list_items :
1250
1250
which is consumed. *)
1251
1251
and light_table ~parent_markup ~parent_markup_location input =
1252
1252
let rec consume_rows acc ~last_loc =
1253
- let >> next_token = Reader. until_rbrace input acc in
1253
+ Reader. until_rbrace input acc >>> fun next_token ->
1254
1254
match next_token.Loc. value with
1255
1255
| `Bar | #token_that_always_begins_an_inline_element -> (
1256
1256
let next, row, last_loc =
@@ -1315,7 +1315,7 @@ and light_table_row ~parent_markup ~last_loc input =
1315
1315
which is consumed. *)
1316
1316
and heavy_table ~parent_markup ~parent_markup_location input =
1317
1317
let rec consume_rows acc ~last_loc =
1318
- let >> next_token = Reader. until_rbrace input acc in
1318
+ Reader. until_rbrace input acc >>> fun next_token ->
1319
1319
match next_token.Loc. value with
1320
1320
| `Begin_table_row as token ->
1321
1321
junk input;
@@ -1340,7 +1340,7 @@ and heavy_table ~parent_markup ~parent_markup_location input =
1340
1340
which is consumed. *)
1341
1341
and heavy_table_row ~parent_markup input =
1342
1342
let rec consume_cell_items acc =
1343
- let >> next_token = Reader. until_rbrace input acc in
1343
+ Reader. until_rbrace input acc >>> fun next_token ->
1344
1344
match next_token.Loc. value with
1345
1345
| `Begin_table_header as token -> (
1346
1346
junk input;
@@ -1379,7 +1379,7 @@ and heavy_table_row ~parent_markup input =
1379
1379
which is consumed. *)
1380
1380
and heavy_table_header ~parent_markup input =
1381
1381
let rec consume_items acc =
1382
- let >> next_token = Reader. until_rbrace input acc in
1382
+ Reader. until_rbrace input acc >>> fun next_token ->
1383
1383
match next_token.Loc. value with
1384
1384
| `Begin_paragraph_style style as token ->
1385
1385
junk input;
0 commit comments