Fix foreach on dotted reference.
This commit is contained in:
parent
f775feb7f0
commit
5e3016f34a
|
|
@ -1295,7 +1295,6 @@ class LinkDotFindVisitor final : public AstNVisitor {
|
||||||
AstNode* const warnp = nodep->arrayp() ? nodep->arrayp() : nodep;
|
AstNode* const warnp = nodep->arrayp() ? nodep->arrayp() : nodep;
|
||||||
warnp->v3warn(E_UNSUPPORTED,
|
warnp->v3warn(E_UNSUPPORTED,
|
||||||
"Unsupported (or syntax error): Foreach on this array's construct");
|
"Unsupported (or syntax error): Foreach on this array's construct");
|
||||||
nodep->dumpTree(cout, "-FIXME-us ");
|
|
||||||
VL_DO_DANGLING(nodep->unlinkFrBack()->deleteTree(), nodep);
|
VL_DO_DANGLING(nodep->unlinkFrBack()->deleteTree(), nodep);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue