diff options
| author | Graydon Hoare <[email protected]> | 2010-12-09 14:37:50 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-12-09 14:37:50 -0800 |
| commit | 876282791e36c482676aeeaee722f5038126e175 (patch) | |
| tree | 6455132ac599209d9263440a5fcb7b8fe30b252b /src/comp/front/ast.rs | |
| parent | Actually un-XFAIL drop-on-ret.rs. (diff) | |
| download | rust-876282791e36c482676aeeaee722f5038126e175.tar.xz rust-876282791e36c482676aeeaee722f5038126e175.zip | |
First sketch of support for const items, not including most of trans.
Diffstat (limited to 'src/comp/front/ast.rs')
| -rw-r--r-- | src/comp/front/ast.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index a37fd191..553a49f6 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -204,6 +204,7 @@ type variant = rec(str name, vec[variant_arg] args, def_id id, ann ann); type item = spanned[item_]; tag item_ { + item_const(ident, @ty, @expr, def_id, ann); item_fn(ident, _fn, vec[ty_param], def_id, ann); item_mod(ident, _mod, def_id); item_ty(ident, @ty, vec[ty_param], def_id, ann); |