syntax: fix a pp bug on foreign mods.
This commit is contained in:
parent
58a4a3700d
commit
65db4315ab
1 changed files with 1 additions and 0 deletions
|
@ -496,6 +496,7 @@ fn print_item(s: ps, &&item: @ast::item) {
|
|||
ast::item_foreign_mod(nmod) => {
|
||||
head(s, visibility_qualified(item.vis, ~"extern"));
|
||||
print_string(s, *s.intr.get(nmod.abi));
|
||||
nbsp(s);
|
||||
match nmod.sort {
|
||||
ast::named => {
|
||||
word_nbsp(s, ~"mod");
|
||||
|
|
Loading…
Add table
Reference in a new issue