aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-03-26 17:35:51 -0700
committerGraydon Hoare <[email protected]>2011-03-26 17:35:51 -0700
commitac6e1131e91d27f1211e028587e5f68e2900cdd2 (patch)
tree453e1eca60a9dec88eae80d27b4a33f3dfd821e2 /src/comp/front
parentFix Makefile.in grep for use on weaker greps (win32 mingw). (diff)
downloadrust-ac6e1131e91d27f1211e028587e5f68e2900cdd2.tar.xz
rust-ac6e1131e91d27f1211e028587e5f68e2900cdd2.zip
Teach creader and metadata writer how to do ty.ty_type.
Diffstat (limited to 'src/comp/front')
-rw-r--r--src/comp/front/creader.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/creader.rs b/src/comp/front/creader.rs
index 32d21461..6a864053 100644
--- a/src/comp/front/creader.rs
+++ b/src/comp/front/creader.rs
@@ -189,6 +189,7 @@ impure fn parse_sty(@pstate st, str_def sd) -> ty.sty {
}
case ('X') {ret ty.ty_var(parse_int(st));}
case ('E') {ret ty.ty_native;}
+ case ('Y') {ret ty.ty_type;}
}
}