diff options
| -rw-r--r-- | src/Makefile | 1 | ||||
| -rw-r--r-- | src/comp/front/parser.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index cb950eb7..cd3ce635 100644 --- a/src/Makefile +++ b/src/Makefile @@ -526,6 +526,7 @@ TEST_XFAILS_SELF := $(filter-out \ bool-not.rs \ box.rs \ box-in-tup.rs \ + cast.rs \ char.rs \ complex.rs \ dead-code-one-arm-if.rs \ diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index d8d7ca4e..093d4b7c 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -140,6 +140,7 @@ impure fn parse_ty(parser p) -> @ast.ty { auto hi = lo; let ast.ty_ t; 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.STR) { p.bump(); t = ast.ty_str; } |