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

List:       kde-bugs-dist
Subject:    [Bug 136436] KDevelop 3.4 svn - crash in
From:       Tom Bech <tom.bech () broadpark ! no>
Date:       2006-10-28 21:31:31
Message-ID: 20061028213131.22583.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=136436         




------- Additional Comments From tom.bech broadpark no  2006-10-28 23:31 -------
I found a work-around for the time-being. I edited AssignmentAST::writeBack() in \
buildtools/lib/parsers/qmake/qmakeast.cpp to:

void AssignmentAST::writeBack(QString &buffer)
{
    ..[snip]..
    if( commentnode )
    {
        if( !buffer.endsWith(" ") && !buffer.endsWith("\t") )
            buffer += " ";
        //buffer += static_cast<QMake::CommentAST*>(commentnode)->comment;
        buffer += "\n";
    }
}

I.e. I commented out the line with "static_cast" stuff and added the "buffer += \
"\n";" instead.

So it seems the

  buffer += static_cast<QMake::CommentAST*>(commentnode)->comment;

is the culprit behind the crashes I've been having. Apparently it's related to \
insertion of comments in the .pro file - I can live without that ;)


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

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