diff options
| author | Patrick Walton <[email protected]> | 2010-10-11 18:13:14 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-10-11 18:13:14 -0700 |
| commit | 8a7a0308e32711dce241142dac6c97ccd3a74807 (patch) | |
| tree | 280e15252440c0401d2198b19743d501c88e27d8 /src/comp/front/ast.rs | |
| parent | rustc: Say "expected expression" instead of "expected literal" when we expect... (diff) | |
| download | rust-8a7a0308e32711dce241142dac6c97ccd3a74807.tar.xz rust-8a7a0308e32711dce241142dac6c97ccd3a74807.zip | |
rustc: Parse lets
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 0b0f571c..34df06ad 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -76,7 +76,7 @@ tag stmt_ { type decl = spanned[decl_]; tag decl_ { - decl_local(ident, bool, option[@ty]); + decl_local(ident, option[@ty], option[@expr]); decl_item(name, @item); } |