diff options
Diffstat (limited to 'Source/cmCableData.cxx')
-rw-r--r-- | Source/cmCableData.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmCableData.cxx b/Source/cmCableData.cxx index 0e833ee..7fadb41 100644 --- a/Source/cmCableData.cxx +++ b/Source/cmCableData.cxx @@ -27,7 +27,8 @@ cmCableData::cmCableData(const cmCableCommand* owner, m_Owner(owner), m_Indentation(0), m_Package(NULL), - m_PackageNamespaceDepth(0) + m_PackageNamespaceDepth(0), + m_PackageClassIndex(-1) { this->OpenOutputFile(configurationFile); } @@ -167,6 +168,9 @@ void cmCableData::BeginPackage(cmCablePackageCommand* command) // Open this package. m_Package = command; + // Write out the package's header. + m_Package->WritePackageHeader(); + // Save the package's opening namespace depth for later verification // on the end of the package. m_PackageNamespaceDepth = m_NamespaceStack.size(); |