[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdevelop/lib/cppparser
From: Michael Pyne <michael.pyne () kdemail ! net>
Date: 2005-11-30 22:49:06
Message-ID: 1133390946.647554.25891.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 484476 by mpyne:
Backport annma's fix for KDevelop bug 88181 (Inaccurate listing of project TODOs) to \
KDE 3.5.
BUG:88181
M +4 -4 lexer.h
--- branches/KDE/3.5/kdevelop/lib/cppparser/lexer.h #484475:484476
@@ -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