Fix GCC warning (fixes recent #3510)

This commit is contained in:
Wilson Snyder 2023-01-29 17:34:48 -05:00
parent 6a12c4d02a
commit 164aa96953

View File

@ -1273,8 +1273,9 @@ public:
}
void visit(AstConsPackMember* nodep) override {
auto* const vdtypep = VN_AS(nodep->dtypep(), MemberDType);
putbs(vdtypep->name());
puts(": ");
putbs(".");
puts(vdtypep->name());
puts(" = ");
iterate(nodep->rhsp());
}
void visit(AstConsQueue* nodep) override {