diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-01-20 16:19:02 -0500 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <[email protected]> | 2011-01-20 16:20:45 -0500 |
| commit | 7fdb6437d862d18a50f6c9d3f79f08e8d90905c4 (patch) | |
| tree | 01bb9021f015660f0711b261f49c2a2f9bc1286a | |
| parent | Teach ast and parser about linear for expressions. (diff) | |
| download | rust-7fdb6437d862d18a50f6c9d3f79f08e8d90905c4.tar.xz rust-7fdb6437d862d18a50f6c9d3f79f08e8d90905c4.zip | |
typo
| -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); } |