summaryrefslogtreecommitdiff
path: root/src/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.rs')
-rw-r--r--src/ast.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ast.rs b/src/ast.rs
index c3925b0..d60edc0 100644
--- a/src/ast.rs
+++ b/src/ast.rs
@@ -75,9 +75,9 @@ pub enum Expression {
#[derive(Debug)]
pub struct VarDec {
- name: WithLocation<String>,
- type_: Option<String>,
- value: Box<WithLocation<Expression>>,
+ pub name: WithLocation<String>,
+ pub type_: Option<String>,
+ pub value: Box<WithLocation<Expression>>,
}
impl VarDec {