Fix trace_macros and log_syntax

This commit is contained in:
Vadim Petrochenkov 2018-12-20 03:57:48 +03:00
parent 4ac592516f
commit b99fb2f544
6 changed files with 25 additions and 19 deletions

View file

@ -4974,7 +4974,7 @@ impl<'a> Parser<'a> {
self.recover_stmt_(SemiColonMode::Ignore, BlockMode::Ignore);
Some(Stmt {
id: ast::DUMMY_NODE_ID,
node: StmtKind::Expr(DummyResult::raw_expr(self.span)),
node: StmtKind::Expr(DummyResult::raw_expr(self.span, true)),
span: self.span,
})
}