Internals: Misc prep work for 'with' support.

This commit is contained in:
Wilson Snyder
2020-10-31 09:24:16 -04:00
parent e6b0479b80
commit 85b05366bc
3 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -2400,7 +2400,7 @@ private:
iterateChildren(nodep);
}
}
virtual void visit(AstWith* nodep) override {
virtual void visit(AstWithParse* nodep) override {
nodep->v3warn(E_UNSUPPORTED, "Unsupported: with statements");
nodep->replaceWith(nodep->funcrefp()->unlinkFrBack());
VL_DO_DANGLING(nodep->deleteTree(), nodep);