1
Fork 0

syntax: Rename expr_alt to expr_match

This commit is contained in:
Brian Anderson 2012-08-07 13:35:51 -07:00
parent 92ef17aaeb
commit bc267c696c
19 changed files with 25 additions and 25 deletions

View file

@ -6,7 +6,7 @@ import ast_util::operator_prec;
fn expr_requires_semi_to_be_stmt(e: @ast::expr) -> bool {
match e.node {
ast::expr_if(_, _, _) | ast::expr_alt(_, _, _) | ast::expr_block(_)
ast::expr_if(_, _, _) | ast::expr_match(_, _, _) | ast::expr_block(_)
| ast::expr_while(_, _) | ast::expr_loop(_)
| ast::expr_call(_, _, true) => false,
_ => true