summaryrefslogtreecommitdiffstats
path: root/crates/rebel-parse/src/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rebel-parse/src/ast.rs')
-rw-r--r--crates/rebel-parse/src/ast.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/rebel-parse/src/ast.rs b/crates/rebel-parse/src/ast.rs
index 16df2ad..90c02f5 100644
--- a/crates/rebel-parse/src/ast.rs
+++ b/crates/rebel-parse/src/ast.rs
@@ -21,6 +21,8 @@ pub type Body<'a> = Vec<BodyStmt<'a>>;
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum BodyStmt<'a> {
Assign { dest: TypedExpr<'a>, expr: Expr<'a> },
+ Expr { expr: Expr<'a> },
+ Empty,
}
impl<'a> BodyStmt<'a> {