aboutsummaryrefslogtreecommitdiff
path: root/src/boot/fe
diff options
context:
space:
mode:
authorJason Orendorff <[email protected]>2010-07-13 02:51:52 +0800
committerGraydon Hoare <[email protected]>2010-07-13 02:59:36 +0800
commit1d9212ba858b42f7d0911430dafee141f25deb2d (patch)
tree47c4831afdb9e5fabd319b8691b1da1787ca5689 /src/boot/fe
parentAdd Chris Double to AUTHORS.txt. (diff)
downloadrust-1d9212ba858b42f7d0911430dafee141f25deb2d.tar.xz
rust-1d9212ba858b42f7d0911430dafee141f25deb2d.zip
Fix formatting trivia in Ast.fmt_stmt_body.
Diffstat (limited to 'src/boot/fe')
-rw-r--r--src/boot/fe/ast.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/fe/ast.ml b/src/boot/fe/ast.ml
index 92aad667..f3991e9b 100644
--- a/src/boot/fe/ast.ml
+++ b/src/boot/fe/ast.ml
@@ -1123,17 +1123,17 @@ and fmt_stmt_body (ff:Format.formatter) (s:stmt) : unit =
fmt_slot ff slot.node;
fmt ff " ";
fmt_ident ff ident;
- fmt ff " = ";
+ fmt ff " in ";
fmt_lval ff f;
fmt_atoms ff az;
- fmt ff " ";
+ fmt ff ") ";
fmt_obr ff;
fmt_stmts ff sf.for_each_body.node;
fmt_cbb ff
end
| STMT_put (atom) ->
- fmt ff "put ";
+ fmt ff "put";
begin
match atom with
Some a -> (fmt ff " "; fmt_atom ff a)