File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
trunk/src/libsyntax/print Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 9ef56a6ca85ba30494fe63020cde08c8e91f39d4
2
+ refs/heads/master: 11b640d990220dc9386a300a10b2147d777d5452
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -527,11 +527,13 @@ fn print_item(s: ps, &&item: @ast::item) {
527
527
}
528
528
ast::item_mac({node: ast::mac_invoc_tt(pth, tts), _}) => {
529
529
print_path(s, pth, false);
530
- head( s, ~" ! ");
530
+ word(s. s, ~" ! ");
531
531
print_ident(s, item.ident);
532
- bopen(s);
532
+ cbox(s, indent_unit);
533
+ popen(s);
533
534
for tts.each |tt| { print_tt(s, tt); }
534
- bclose(s, item.span);
535
+ pclose(s);
536
+ end(s);
535
537
}
536
538
ast::item_mac(_) => {
537
539
fail ~" invalid item-position syntax bit"
@@ -931,10 +933,10 @@ fn print_mac(s: ps, m: ast::mac) {
931
933
}
932
934
ast::mac_invoc_tt(pth, tts) => {
933
935
print_path(s, pth, false);
934
- head( s, ~" !");
935
- bopen (s);
936
+ word(s. s, ~" !");
937
+ popen (s);
936
938
for tts.each() |tt| { print_tt(s, tt); }
937
- bclose(s, m.span );
939
+ pclose(s );
938
940
}
939
941
ast::mac_ellipsis => word(s.s, ~" ..."),
940
942
ast::mac_var(v) => word(s.s, fmt!(" $%u", v) ) ,
You can’t perform that action at this time.
0 commit comments