diff --git a/src/V3EmitCFunc.h b/src/V3EmitCFunc.h index cad8e132f..c6d4bad54 100644 --- a/src/V3EmitCFunc.h +++ b/src/V3EmitCFunc.h @@ -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 {