Fix anon-extern-mod pretty print test.
This commit is contained in:
@@ -467,9 +467,11 @@ fn print_item(s: ps, &&item: @ast::item) {
|
|||||||
}
|
}
|
||||||
ast::item_foreign_mod(nmod) => {
|
ast::item_foreign_mod(nmod) => {
|
||||||
head(s, ~"extern");
|
head(s, ~"extern");
|
||||||
word_nbsp(s, ~"mod");
|
|
||||||
match nmod.sort {
|
match nmod.sort {
|
||||||
ast::named => print_ident(s, item.ident),
|
ast::named => {
|
||||||
|
word_nbsp(s, ~"mod");
|
||||||
|
print_ident(s, item.ident)
|
||||||
|
}
|
||||||
ast::anonymous => {}
|
ast::anonymous => {}
|
||||||
}
|
}
|
||||||
nbsp(s);
|
nbsp(s);
|
||||||
|
|||||||
Reference in New Issue
Block a user