diff options
Diffstat (limited to 'src/ast.rs')
-rw-r--r-- | src/ast.rs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |