Implement reparsing for remaining blocks

This commit is contained in:
darksv 2018-09-10 20:14:09 +02:00
parent 4f64709666
commit 64d07c1bd4
9 changed files with 93 additions and 28 deletions

View file

@ -287,7 +287,7 @@ fn match_expr(p: &mut Parser) -> CompletedMarker {
m.complete(p, MATCH_EXPR)
}
fn match_arm_list(p: &mut Parser) {
pub(crate) fn match_arm_list(p: &mut Parser) {
assert!(p.at(L_CURLY));
let m = p.start();
p.eat(L_CURLY);