syntax: convert ast::spanned into a struct

This commit is contained in:
Erick Tryzelaar
2012-12-27 14:36:00 -05:00
parent b75550af5c
commit 93c2ebf994
31 changed files with 245 additions and 210 deletions

View File

@@ -599,7 +599,8 @@ fn print_item(s: ps, &&item: @ast::item) {
}
bclose(s, item.span);
}
ast::item_mac({node: ast::mac_invoc_tt(pth, ref tts), _}) => {
ast::item_mac(ast::spanned { node: ast::mac_invoc_tt(pth, ref tts),
_}) => {
print_visibility(s, item.vis);
print_path(s, pth, false);
word(s.s, ~"! ");