diff options
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/front/parser.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |