Index: src/SynTree/ReferenceToType.cc
===================================================================
--- src/SynTree/ReferenceToType.cc	(revision 6eb89484ef2c58941d8905aad3ee756b10460cf9)
+++ src/SynTree/ReferenceToType.cc	(revision f006f010a16b044c89b41fdeb2442986671eb5dc)
@@ -56,4 +56,6 @@
 	}
 } // namespace
+
+StructInstType::StructInstType( const Type::Qualifiers & tq, StructDecl * baseStruct ) : Parent( tq, baseStruct->get_name() ), baseStruct( baseStruct ) {}
 
 std::string StructInstType::typeString() const { return "struct"; }
Index: src/SynTree/Type.h
===================================================================
--- src/SynTree/Type.h	(revision 6eb89484ef2c58941d8905aad3ee756b10460cf9)
+++ src/SynTree/Type.h	(revision f006f010a16b044c89b41fdeb2442986671eb5dc)
@@ -234,4 +234,5 @@
   public:
 	StructInstType( const Type::Qualifiers &tq, const std::string &name ) : Parent( tq, name ), baseStruct( 0 ) {}
+	StructInstType( const Type::Qualifiers &tq, StructDecl * baseStruct );
 	StructInstType( const StructInstType &other ) : Parent( other ), baseStruct( other.baseStruct ) {}
 
