diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-07-03 17:30:25 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-07-03 17:30:25 -0700 |
| commit | ae6ea068a12877742247b848ceeaa39c41e981c6 (patch) | |
| tree | 8c146d3fa5668113d192a9ef203e88107c637f23 /src/libsyntax/fold.rs | |
| parent | e000d1db0ab047b8d2949de4ab221718905ce3b1 (diff) | |
| download | rust-ae6ea068a12877742247b848ceeaa39c41e981c6.tar.gz rust-ae6ea068a12877742247b848ceeaa39c41e981c6.zip | |
Revert "Remove rule requiring non-nil block-style statements to be semi-terminated"
This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
Diffstat (limited to 'src/libsyntax/fold.rs')
| -rw-r--r-- | src/libsyntax/fold.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/fold.rs b/src/libsyntax/fold.rs index fd17403b695..c949c2e17aa 100644 --- a/src/libsyntax/fold.rs +++ b/src/libsyntax/fold.rs @@ -315,6 +315,7 @@ 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)) } }; } |
