diff options
author | David Li <li.davidm96@gmail.com> | 2017-11-05 11:09:25 -0500 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2017-11-05 11:09:25 -0500 |
commit | 44570e6b300961cdcf080b82e7cc1d89fc553b0a (patch) | |
tree | 2efa439003990350b1bce24373819765ccbe886d /src/ast.rs | |
parent | 1c62effe91b5e50d1dbbc79c01655abfb3c17e16 (diff) |
Check types in bindings, unary operators
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 { |