[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 88181] A Listing of all the TODO's in a project
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-11-30 22:29:30
Message-ID: 20051130222930.11185.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=88181         




------- Additional Comments From annma kde org  2005-11-30 23:29 -------
SVN commit 484471 by annma:

fix 88181
can someone backport this fix to kdevelop in kde 3.5 branch please?
CCBUG=88181


 M  +4 -4      lexer.h  


--- branches/kdevelop/3.4/lib/cppparser/lexer.h #484470:484471
 @ -543,8 +543,8  @
 inline void Lexer::readLineComment()
 {
     while( !currentChar().isNull() && currentChar() != '\n' ){
-	if( m_reportMessages && currentChar() == ' ' && m_source.mid(currentPosition()+1, \
                4).lower() == "todo" ){
-	    nextChar( 5 );
+        if( m_reportMessages && m_source.mid(currentPosition(), 4).lower() == "todo" \
){ +	    nextChar( 4 );
 	    QString msg;
 	    int line = m_currentLine;
 	    int col = m_currentColumn;
 @ -587,8 +587,8  @
         if( currentChar() == '*' && peekChar() == '/' ){
             nextChar( 2 );
             return;
-	} else if( m_reportMessages && currentChar() == ' ' && \
                m_source.mid(currentPosition()+1, 4).lower() == "todo" ){
-	    nextChar( 5 );
+	} else if( m_reportMessages && m_source.mid(currentPosition(), 4).lower() == "todo" \
){ +	    nextChar( 4 );
 	    QString msg;
 	    int line = m_currentLine;
 	    int col = m_currentColumn;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic