From e05d7c3ac1e72edff337719fe58da69e959c4cf4 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 22 Nov 2010 17:41:26 -0800 Subject: Support mach types in rustc, enable 5 more tests. --- src/comp/front/ast.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/comp/front/ast.rs') diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 3a67d2f2..ddd02a03 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -4,6 +4,7 @@ import std.option; import middle.typeck; import util.common.span; import util.common.spanned; +import util.common.ty_mach; type ident = str; @@ -116,6 +117,7 @@ tag lit_ { lit_char(char); lit_int(int); lit_uint(uint); + lit_mach_int(ty_mach, int); lit_nil; lit_bool(bool); } -- cgit v1.2.3