Working soft return

This commit is contained in:
2026-05-21 07:59:00 +02:00
parent 70e6eb6276
commit 7688599504
5 changed files with 25 additions and 5 deletions
+4 -1
View File
@@ -3,7 +3,10 @@ use serde::Serialize;
use super::*;
#[derive(Debug, Clone, Serialize, Default)]
pub struct Block(pub Vec<Spanned<Expression>>);
pub struct Block(
pub Vec<Spanned<Expression>>,
pub Option<Spanned<Expression>>,
);
#[derive(Debug, Clone, Serialize)]
pub enum Statement {