Skip to content

Commit 7fdb643

Browse files
committed
typo
1 parent 33b342e commit 7fdb643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/front/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ impure fn parse_ty(parser p) -> @ast.ty {
202202
alt (p.peek()) {
203203
case (token.BOOL) { p.bump(); t = ast.ty_bool; }
204204
case (token.INT) { p.bump(); t = ast.ty_int; }
205-
case (token.UINT) { p.bump(); t = ast.ty_int; }
205+
case (token.UINT) { p.bump(); t = ast.ty_uint; }
206206
case (token.STR) { p.bump(); t = ast.ty_str; }
207207
case (token.CHAR) { p.bump(); t = ast.ty_char; }
208208
case (token.MACH(?tm)) { p.bump(); t = ast.ty_machine(tm); }

0 commit comments

Comments
 (0)