提交 741db24e 编写于 作者: G Graydon Hoare

Print remaining comments at end of *crate*, not module.

上级 a9d84ab2
......@@ -88,6 +88,7 @@ fn print_crate(&codemap cm, @ast::crate crate, str filename,
mutable boxes=boxes,
ann=ann);
print_mod(s, crate.node.module, crate.node.attrs);
print_remaining_comments(s);
eof(s.s);
}
......@@ -240,7 +241,6 @@ fn print_mod(&ps s, ast::_mod _mod, &vec[ast::attribute] attrs) {
hardbreak_if_not_bol(s);
print_item(s, item);
}
print_remaining_comments(s);
}
fn print_boxed_type(&ps s, &@ast::ty ty) { print_type(s, *ty); }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册