We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b342e commit 7fdb643Copy full SHA for 7fdb643
src/comp/front/parser.rs
@@ -202,7 +202,7 @@ impure fn parse_ty(parser p) -> @ast.ty {
202
alt (p.peek()) {
203
case (token.BOOL) { p.bump(); t = ast.ty_bool; }
204
case (token.INT) { p.bump(); t = ast.ty_int; }
205
- case (token.UINT) { p.bump(); t = ast.ty_int; }
+ case (token.UINT) { p.bump(); t = ast.ty_uint; }
206
case (token.STR) { p.bump(); t = ast.ty_str; }
207
case (token.CHAR) { p.bump(); t = ast.ty_char; }
208
case (token.MACH(?tm)) { p.bump(); t = ast.ty_machine(tm); }
0 commit comments