Remove rule requiring non-nil block-style statements to be semi-terminated

This is a subtle rule that no longer seems to be required.
This commit is contained in:
Brian Anderson
2012-07-03 16:06:09 -07:00
parent 3f59a4bc64
commit 0f5eaef5fb
21 changed files with 32 additions and 35 deletions

View File

@@ -315,7 +315,6 @@ fn noop_fold_stmt(s: stmt_, fld: ast_fold) -> stmt_ {
ret alt s {
stmt_decl(d, nid) { stmt_decl(fld.fold_decl(d), fld.new_id(nid)) }
stmt_expr(e, nid) { stmt_expr(fld.fold_expr(e), fld.new_id(nid)) }
stmt_semi(e, nid) { stmt_semi(fld.fold_expr(e), fld.new_id(nid)) }
};
}