Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/src/grammar.rs')
-rw-r--r--crates/parser/src/grammar.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/parser/src/grammar.rs b/crates/parser/src/grammar.rs
index 1c58f217a3..cf17e8453b 100644
--- a/crates/parser/src/grammar.rs
+++ b/crates/parser/src/grammar.rs
@@ -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);
+ }
}
}