Removed spawn and task from the parser. Updated all the tests except for the benchmarks.

This commit is contained in:
Eric Holk 2011-08-13 15:20:11 -07:00
parent c3535f5842
commit be7325073a
36 changed files with 368 additions and 266 deletions

View file

@ -475,8 +475,10 @@ fn parse_ty(p: &parser) -> @ast::ty {
t = ast::ty_istr;
} else if (eat_word(p, "char")) {
t = ast::ty_char;
/*
} else if (eat_word(p, "task")) {
t = ast::ty_task;
*/
} else if (eat_word(p, "i8")) {
t = ast::ty_machine(ast::ty_i8);
} else if (eat_word(p, "i16")) {
@ -804,8 +806,10 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
ret parse_do_while_expr(p);
} else if (eat_word(p, "alt")) {
ret parse_alt_expr(p);
/*
} else if (eat_word(p, "spawn")) {
ret parse_spawn_expr(p);
*/
} else if (eat_word(p, "fn")) {
ret parse_fn_expr(p, ast::proto_fn);
} else if (eat_word(p, "block")) {