bug in ada parsing. (kdevelop 3.3.0)

"Василий" DibalaVS at yandex.ru
Thu Jan 26 09:06:14 UTC 2006


bug in ada support part: background parser not parse .adb .ads files and paresed not .ad? files.

ada/problemreporter.cpp contains:
	}

/* Temporarily deactivated (crashes)*/
    if (!m_adaSupport->fileExtensions ().contains (QFileInfo (m_filename).extension ()))
    {
        m_bgParser = new BackgroundParser( this, m_editor->text(), m_filename );
	m_bgParser->start();
    }
 /**/
}

must be if (m_adaSupport->fileExtensions ().contains (QFileInfo (m_filename).extension ()))
but ada parsed sometimes crahs.  I thing that lines   
       m_bgParser = new BackgroundParser( this, m_editor->text(), m_filename );
	m_bgParser->start();
nust be commented:
//      m_bgParser = new BackgroundParser( this, m_editor->text(), m_filename );
//	m_bgParser->start();




More information about the KDevelop-devel mailing list