summaryrefslogtreecommitdiffstats
path: root/crates/rebel-lang/examples/repl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rebel-lang/examples/repl.rs')
-rw-r--r--crates/rebel-lang/examples/repl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rebel-lang/examples/repl.rs b/crates/rebel-lang/examples/repl.rs
index 42e8d62..b7b91ca 100644
--- a/crates/rebel-lang/examples/repl.rs
+++ b/crates/rebel-lang/examples/repl.rs
@@ -77,7 +77,7 @@ fn main() {
continue;
}
};
- let stmt = match recipe::body_stmt(&tokens) {
+ let stmt = match recipe::block_stmt(&tokens) {
Ok(value) => value,
Err(err) => {
println!("Parse error: {err}");