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
@@ -163,7 +163,7 @@ public:
UINFO(9," SimVARREF "<<nodep<<endl);
AstVarScope* vscp = nodep->varScopep();
if (nodep->lvalue()) {
m_outWidth += nodep->varp()->dtypep()->widthTotalBytes();
m_outWidth += nodep->varp()->dtypeSkipRefp()->widthTotalBytes();
m_outVarps.push_back(vscp);
} else {
// We'll make the table with a separate natural alignment for each