start incremental reparse

This commit is contained in:
Aleksey Kladov 2018-08-25 13:17:54 +03:00
parent 32c8ea9307
commit fed5727ea2
5 changed files with 46 additions and 4 deletions

View file

@ -25,7 +25,7 @@ fn expr_no_struct(p: &mut Parser) {
// fn b() { let _ = 1; }
// fn c() { 1; 2; }
// fn d() { 1; 2 }
pub(super) fn block(p: &mut Parser) {
pub(crate) fn block(p: &mut Parser) {
assert!(p.at(L_CURLY));
let m = p.start();
p.bump();