constStr = _T(" const");
wxLogVerbose("file %s(%d): found '%s %s::%s(%s)%s'",
- m_filename.c_str(), m_line,
+ m_filename.c_str(),
+ (int)m_line,
returnType.c_str(),
classname.c_str(),
funcName.c_str(),
/*
$Log$
+ Revision 1.40 2005/05/30 11:49:32 ABX
+ More warning and error fixes (work in progress with Tinderbox).
+
Revision 1.39 2005/05/30 09:26:42 ABX
More warning and error fixes (work in progress with Tinderbox).
} while( 1 );
}
-void CJSourceParser::AttachComments( spContext& ctx, char* cur )
+void CJSourceParser::AttachComments( spContext& ctx, wxChar* cur )
{
if ( !mCommentsOn ) return;
pComment->mStartsPar = false;
}
- prevComEnd = set_comment_text( pComment->mText, start );
+ prevComEnd = set_comment_text( pComment->m_Text, start );
}
spComment* pComment = new spComment();
lst.push_back( pComment );
- set_comment_text( pComment->mText, cur );
+ set_comment_text( pComment->m_Text, cur );
pComment->mStartsPar = 1;
pComment->mIsMultiline = ( *(cur+1) == '*' );
str += mTags[TAG_PARAGRAPH].start;
}
- str += lst[i]->mText;
+ str += lst[i]->m_Text;
}
// remove new lines, and insert paragraph breaks
return mStartsPar;
}
-string& spComment::GetText()
+wxString& spComment::GetText()
{
- return mText;
+ return m_Text;
}
-string spComment::GetText() const
+wxString spComment::GetText() const
{
- return mText;
+ return m_Text;
}
/***** Implementation for class spContext *****/
class spComment
{
public:
- string mText;
- bool mIsMultiline; // multiline comments ar those with /**/'s
+ wxString m_Text;
+ bool mIsMultiline; // multiline comments ar those with /**/'s
// true, if these was an empty empty
// line above single line comment
- bool mStartsPar;
+ bool mStartsPar;
public:
- bool IsMultiline() const;
- bool StartsParagraph() const;
+ bool IsMultiline() const;
+ bool StartsParagraph() const;
- string& GetText();
+ string& GetText();
// contstant version of GetText()
- string GetText() const;
+ string GetText() const;
};
// abstract base class for common (to most languages) code