From 7fdb6437d862d18a50f6c9d3f79f08e8d90905c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 20 Jan 2011 16:19:02 -0500 Subject: typo --- src/comp/front/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index 049d10b4..ec427075 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -202,7 +202,7 @@ impure fn parse_ty(parser p) -> @ast.ty { alt (p.peek()) { case (token.BOOL) { p.bump(); t = ast.ty_bool; } case (token.INT) { p.bump(); t = ast.ty_int; } - case (token.UINT) { p.bump(); t = ast.ty_int; } + case (token.UINT) { p.bump(); t = ast.ty_uint; } case (token.STR) { p.bump(); t = ast.ty_str; } case (token.CHAR) { p.bump(); t = ast.ty_char; } case (token.MACH(?tm)) { p.bump(); t = ast.ty_machine(tm); } -- cgit v1.2.3