Skip to content

Commit d4ff223

Browse files
committed
---
yaml --- r: 21311 b: refs/heads/snap-stage3 c: 11b640d h: refs/heads/master i: 21309: cb957c5 21307: d71e483 21303: 9a66ab1 21295: b19ceed 21279: 7992cc7 21247: d1970c8 v: v3
1 parent ff4001e commit d4ff223

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 9ef56a6ca85ba30494fe63020cde08c8e91f39d4
4+
refs/heads/snap-stage3: 11b640d990220dc9386a300a10b2147d777d5452
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libsyntax/print/pprust.rs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -527,11 +527,13 @@ fn print_item(s: ps, &&item: @ast::item) {
527527
}
528528
ast::item_mac({node: ast::mac_invoc_tt(pth, tts), _}) => {
529529
print_path(s, pth, false);
530-
head(s, ~"! ");
530+
word(s.s, ~"! ");
531531
print_ident(s, item.ident);
532-
bopen(s);
532+
cbox(s, indent_unit);
533+
popen(s);
533534
for tts.each |tt| { print_tt(s, tt); }
534-
bclose(s, item.span);
535+
pclose(s);
536+
end(s);
535537
}
536538
ast::item_mac(_) => {
537539
fail ~"invalid item-position syntax bit"
@@ -931,10 +933,10 @@ fn print_mac(s: ps, m: ast::mac) {
931933
}
932934
ast::mac_invoc_tt(pth, tts) => {
933935
print_path(s, pth, false);
934-
head(s, ~"!");
935-
bopen(s);
936+
word(s.s, ~"!");
937+
popen(s);
936938
for tts.each() |tt| { print_tt(s, tt); }
937-
bclose(s, m.span);
939+
pclose(s);
938940
}
939941
ast::mac_ellipsis => word(s.s, ~"..."),
940942
ast::mac_var(v) => word(s.s, fmt!("$%u", v)),

0 commit comments

Comments
 (0)