Add ast::ExprKind::Dummy

This commit is contained in:
Lieselotte
2024-02-25 22:22:09 +01:00
parent 8c0b1fcd29
commit a3fce72a27
18 changed files with 37 additions and 24 deletions

View File

@@ -898,6 +898,11 @@ impl<'a> State<'a> {
self.word("/*ERROR*/");
self.pclose()
}
ast::ExprKind::Dummy => {
self.popen();
self.word("/*DUMMY*/");
self.pclose();
}
}
self.ann.post(self, AnnNode::Expr(expr));