diff --git a/src/ast.rs b/src/ast.rs index 899546e..28157d0 100644 --- a/src/ast.rs +++ b/src/ast.rs @@ -6,7 +6,7 @@ use crate::tokens::Token; /// The AST node for the program #[derive(Default, Debug, Clone)] -pub struct ProgramNode(Vec); +pub struct ProgramNode(pub Vec); /// An AST node that represents a statement. #[derive(Debug, Clone)]