diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/front/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |