aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
diff options
context:
space:
mode:
authorLindsey Kuper <[email protected]>2011-05-11 12:04:58 -0700
committerGraydon Hoare <[email protected]>2011-05-13 17:35:13 -0700
commitd3242b9644bb32f9a74be845518067566e2f36a7 (patch)
tree60d52552c54048712d05e75f5fb053fd43bc8edf /src/comp/front/ast.rs
parentMore progress on anonymous objects. (diff)
downloadrust-d3242b9644bb32f9a74be845518067566e2f36a7.tar.xz
rust-d3242b9644bb32f9a74be845518067566e2f36a7.zip
Bug fixes.
Fixed infinite loop on anonymous objects in parser; added expr_anon_obj to walk.rs; fixed syntax of test case.
Diffstat (limited to 'src/comp/front/ast.rs')
-rw-r--r--src/comp/front/ast.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs
index d2bc6578..eda09276 100644
--- a/src/comp/front/ast.rs
+++ b/src/comp/front/ast.rs
@@ -379,18 +379,6 @@ type anon_obj = rec(
// with_obj: the original object being extended, if it exists.
Option.t[ident] with_obj);
-tag mod_index_entry {
- mie_view_item(@view_item);
- mie_item(@item);
- mie_tag_variant(@item /* tag item */, uint /* variant index */);
-}
-
-tag native_mod_index_entry {
- nmie_view_item(@view_item);
- nmie_item(@native_item);
-}
-
-type mod_index = hashmap[ident,mod_index_entry];
type _mod = rec(vec[@view_item] view_items,
vec[@item] items);