use multi-backpassing in base64 example

This commit is contained in:
Folkert 2021-03-19 00:27:34 +01:00
parent 73e6128ce3
commit eef1cb2a69
2 changed files with 29 additions and 33 deletions

View file

@ -1224,6 +1224,8 @@ fn parse_expr_end<'a>(
match word2(b'<', b'-', EExpr::BackpassArrow).parse(arena, state) {
Err((_, fail, state)) => Err((MadeProgress, fail, state)),
Ok((_, _, state)) => {
let min_indent = start.col;
let parse_body = space0_before_e(
move |a, s| parse_loc_expr(min_indent + 1, a, s),
min_indent,