parse_stmt_mac: add a comment
This commit is contained in:
parent
2ddea30178
commit
74d9c4b312
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ impl<'a> Parser<'a> {
|
|||
self.warn_missing_semicolon();
|
||||
StmtKind::Mac(P((mac, style, attrs)))
|
||||
} else {
|
||||
// Since none of the above applied, this is an expression statement macro.
|
||||
let e = self.mk_expr(lo.to(hi), ExprKind::Mac(mac), ThinVec::new());
|
||||
let e = self.maybe_recover_from_bad_qpath(e, true)?;
|
||||
let e = self.parse_dot_or_call_expr_with(e, lo, attrs)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue