internal: move block to prefix entry point

This commit is contained in:
Aleksey Kladov 2021-12-27 15:39:17 +03:00
parent 350d5dc152
commit 519ee21bcb
3 changed files with 12 additions and 6 deletions

View file

@ -53,6 +53,10 @@ pub(crate) mod entry {
pub(crate) fn vis(p: &mut Parser) {
let _ = opt_visibility(p, false);
}
pub(crate) fn block(p: &mut Parser) {
expressions::block_expr(p);
}
}
}