More warning and error fixes (work in progress with Tinderbox).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-05-30 11:49:33 +00:00
parent 306302e12a
commit e49cde67e6
5 changed files with 20 additions and 16 deletions

View File

@@ -1190,7 +1190,7 @@ spFile* CJSourceParser::Parse( char* start, char* end )
} while( 1 );
}
void CJSourceParser::AttachComments( spContext& ctx, char* cur )
void CJSourceParser::AttachComments( spContext& ctx, wxChar* cur )
{
if ( !mCommentsOn ) return;
@@ -1240,7 +1240,7 @@ void CJSourceParser::AttachComments( spContext& ctx, char* cur )
pComment->mStartsPar = false;
}
prevComEnd = set_comment_text( pComment->mText, start );
prevComEnd = set_comment_text( pComment->m_Text, start );
}
@@ -1252,7 +1252,7 @@ void CJSourceParser::AttachComments( spContext& ctx, char* cur )
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) == '*' );