Skip to content

Commit 7c837af

Browse files
committed
---
yaml --- r: 4815 b: refs/heads/master c: e8bcca2 h: refs/heads/master i: 4813: 4d4e767 4811: 947af0e 4807: a307586 4799: f747cd9 v: v3
1 parent 9291732 commit 7c837af

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 6e5af8996d748fe9e75c53d9ae83c7a8cd6b317f
2+
refs/heads/master: e8bcca2829e398a6b6df98cc383a2633590695cf

trunk/src/comp/syntax/print/pprust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ fn print_item(s: &ps, item: &@ast::item) {
473473
} else {
474474
bopen(s);
475475
for v: ast::variant in variants {
476-
space(s.s);
476+
space_if_not_bol(s);
477477
maybe_print_comment(s, v.span.lo);
478478
word(s.s, v.node.name);
479479
if vec::len(v.node.args) > 0u {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// pp-exact
2+
3+
tag foo {
4+
foo; // a foo.
5+
bar;
6+
}
7+
8+
fn main() { }

0 commit comments

Comments
 (0)