more function things

This commit is contained in:
nora 2022-01-16 19:58:52 +01:00
parent e15967e24c
commit ff6b4703ab
11 changed files with 77 additions and 55 deletions

View file

@ -13,8 +13,7 @@ pub struct Ident {
pub span: Span,
}
#[derive(Debug, PartialEq)]
pub struct Program<'ast>(pub Vec<'ast, Stmt<'ast>>);
pub type Program<'ast> = Block<'ast>;
#[derive(Debug, PartialEq)]
pub struct Block<'ast> {