Fix bug in the pretty printer.
This commit is contained in:
parent
337236870d
commit
52d485fe0d
1 changed files with 2 additions and 3 deletions
|
|
@ -1638,9 +1638,8 @@ impl<'a> State<'a> {
|
|||
_ => token::Paren
|
||||
};
|
||||
try!(self.print_mac(&mac, delim));
|
||||
match style {
|
||||
ast::MacStmtStyle::Braces => {}
|
||||
_ => try!(word(&mut self.s, ";")),
|
||||
if style == ast::MacStmtStyle::Semicolon {
|
||||
try!(word(&mut self.s, ";"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue