aboutsummaryrefslogtreecommitdiff
path: root/crates/parser
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-12-28 11:53:00 +0000
committerEdwin Cheng <[email protected]>2020-12-28 11:53:00 +0000
commit710407b11dce7274ccf16b072fb500b9e5d4fb15 (patch)
tree13d1b64bdd37db998cc8a24434146efdfb02415a /crates/parser
parent1d530756ed7ba175ec32ff71247072798dc9a748 (diff)
Fix mbe fail to pass expr with attr
Diffstat (limited to 'crates/parser')
-rw-r--r--crates/parser/src/grammar.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/grammar.rs b/crates/parser/src/grammar.rs
index f08c8bab7..63cc90027 100644
--- a/crates/parser/src/grammar.rs
+++ b/crates/parser/src/grammar.rs
@@ -59,7 +59,7 @@ pub(crate) mod fragments {
59 }; 59 };
60 60
61 pub(crate) fn expr(p: &mut Parser) { 61 pub(crate) fn expr(p: &mut Parser) {
62 let _ = expressions::expr(p); 62 let _ = expressions::expr_with_attrs(p);
63 } 63 }
64 64
65 pub(crate) fn stmt(p: &mut Parser) { 65 pub(crate) fn stmt(p: &mut Parser) {