Support typedef

This commit is contained in:
Wilson Snyder
2009-11-06 23:16:06 -05:00
parent de9989d5a2
commit 377f194837
26 changed files with 456 additions and 53 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ private:
virtual void visit(AstVar* nodep, AstNUser*) {
nodep->iterateChildren(*this);
if (nodep->isIO() && !nodep->dtypep()->castBasicDType()) {
if (nodep->isIO() && !nodep->dtypeSkipRefp()->castBasicDType()) {
nodep->v3error("Unsupported: Inputs and outputs must be simple data types; no arrays");
}
if (m_ftaskp) nodep->funcLocal(true);