pp: print spaces around '=' in 'extern mod blah = "blah"'

This commit is contained in:
Benjamin Herr 2013-10-05 05:59:51 +02:00
parent 8eb28bb7dc
commit e007f94747

View File

@ -1895,7 +1895,9 @@ pub fn print_view_item(s: @ps, item: &ast::view_item) {
head(s, "extern mod");
print_ident(s, id);
for p in optional_path.iter() {
space(s.s);
word(s.s, "=");
space(s.s);
print_string(s, *p);
}
if !mta.is_empty() {