Parser debugging/testing improvements

* Set objectname on all parsers to be able to distinguish between
   them more easily when debugging
 * Add some unit tests about pass-through of data we need in the
   gcc parser to the parsers that enhd up in front of the gcc parser
   This is to address QTCREATORBUG-1917.
This commit is contained in:
Tobias Hunger
2010-09-15 13:55:01 +02:00
parent 49d6fc27ec
commit 0204ef21f5
8 changed files with 41 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ namespace {
LdParser::LdParser()
{
setObjectName(QLatin1String("LdParser"));
m_regExpLinker.setPattern(QString::fromLatin1(FILE_PATTERN) + '(' + QLatin1String(POSITION_PATTERN) + ")?\\s(.+)$");
m_regExpLinker.setMinimal(true);