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 01bdb04 commit 89bdd70Copy full SHA for 89bdd70
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 33b342e89192a0f326a0234a564c8a229839cebe
+refs/heads/master: 7fdb6437d862d18a50f6c9d3f79f08e8d90905c4
trunk/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