X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa1af598d62a71f7e7054a0dcc7b209e91e58873..aadb4d67c86fcb5af00804dc6dfb718d82078b2e:/utils/HelpGen/src/srcparser.cpp diff --git a/utils/HelpGen/src/srcparser.cpp b/utils/HelpGen/src/srcparser.cpp index 639c4f013c..22959ba056 100644 --- a/utils/HelpGen/src/srcparser.cpp +++ b/utils/HelpGen/src/srcparser.cpp @@ -606,10 +606,14 @@ void spOperation::DumpThis(const wxString& indent) const protection = "global"; } + wxString constStr,virtualStr; + if(mIsConstant) constStr = _T("const "); + if(mIsVirtual) virtualStr = _T("virtual "); + wxLogDebug("%s%s%s%s function named '%s::%s' of type '%s'", indent.c_str(), - mIsConstant ? "const " : "", - mIsVirtual ? "virtual " : "", + constStr.c_str(), + virtualStr.c_str(), protection.c_str(), mScope.c_str(), m_Name.c_str(), m_RetType.c_str()); } @@ -643,8 +647,8 @@ void spPreprocessorLine::DumpThis(const wxString& indent) const void spClass::DumpThis(const wxString& indent) const { wxString base; - for ( StrListT::const_iterator i = mSuperClassNames.begin(); - i != mSuperClassNames.end(); + for ( StrListT::const_iterator i = m_SuperClassNames.begin(); + i != m_SuperClassNames.end(); i++ ) { if ( !base.empty() ) base += ", "; @@ -700,7 +704,7 @@ void spTypeDef::DumpThis(const wxString& indent) const void spFile::DumpThis(const wxString& indent) const { wxLogDebug("%sfile '%s'", - indent.c_str(), mFileName.c_str()); + indent.c_str(), m_FileName.c_str()); } #endif // __WXDEBUG__