parent
7607f0e7fa
commit
826b03c21f
|
|
@ -828,8 +828,9 @@ std::vector<std::string> EmitCSyms::getSymCtorStmts() {
|
||||||
stmt += ", ";
|
stmt += ", ";
|
||||||
stmt += varp->vlEnumDir(); // VLVD_IN etc
|
stmt += varp->vlEnumDir(); // VLVD_IN etc
|
||||||
if (varp->dtypep()->skipRefp()->isSigned()) stmt += "|VLVF_SIGNED";
|
if (varp->dtypep()->skipRefp()->isSigned()) stmt += "|VLVF_SIGNED";
|
||||||
if (varp->dtypep()->skipRefp()->basicp()->keyword() == VBasicDTypeKwd::BIT)
|
if (AstBasicDType* const basicp = varp->dtypep()->skipRefp()->basicp()) {
|
||||||
stmt += "|VLVF_BITVAR";
|
if (basicp->keyword() == VBasicDTypeKwd::BIT) stmt += "|VLVF_BITVAR";
|
||||||
|
}
|
||||||
stmt += ", ";
|
stmt += ", ";
|
||||||
stmt += std::to_string(udim);
|
stmt += std::to_string(udim);
|
||||||
stmt += ", ";
|
stmt += ", ";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue