Kill another case of a spurious blank line. Closes #809.

This commit is contained in:
Graydon Hoare 2011-08-18 17:02:15 -07:00
parent 6e5af8996d
commit e8bcca2829
2 changed files with 9 additions and 1 deletions

View file

@ -473,7 +473,7 @@ fn print_item(s: &ps, item: &@ast::item) {
} else {
bopen(s);
for v: ast::variant in variants {
space(s.s);
space_if_not_bol(s);
maybe_print_comment(s, v.span.lo);
word(s.s, v.node.name);
if vec::len(v.node.args) > 0u {

View file

@ -0,0 +1,8 @@
// pp-exact
tag foo {
foo; // a foo.
bar;
}
fn main() { }