summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/linuxiccparser.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-05-03 16:08:00 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-05-06 10:04:38 +0200
commit8bbad43019af98e342d6a5b311016fa20198e4cf (patch)
tree0727f9ffd34dd0d6dfd221558e2aa69b295f4742 /src/plugins/projectexplorer/linuxiccparser.h
parent14763118a58bf526f873b6750c3785f8752e4d7e (diff)
downloadqt-creator-8bbad43019af98e342d6a5b311016fa20198e4cf.tar.gz
OutputParser: Allow to flush pending tasks.
Add a way to flush out tasks from the outputparsers. This is necessary to make parsers that keep state more robust. Flush parsers (once) before adding any new task. This keeps the sequence intact. Flush all parsers once the parsing is done to make sure there is no task queued somewhere. Task-number: QTCREATORBUG-9195 Change-Id: Icd37df1f470cb73123ad286d6900ad1047a1d512 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/linuxiccparser.h')
-rw-r--r--src/plugins/projectexplorer/linuxiccparser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/linuxiccparser.h b/src/plugins/projectexplorer/linuxiccparser.h
index fd985b8b75..e3e13a6b43 100644
--- a/src/plugins/projectexplorer/linuxiccparser.h
+++ b/src/plugins/projectexplorer/linuxiccparser.h
@@ -43,11 +43,12 @@ class LinuxIccParser : public ProjectExplorer::IOutputParser
public:
LinuxIccParser();
- ~LinuxIccParser();
void stdError(const QString &line);
private:
+ void doFlush();
+
QRegExp m_firstLine;
QRegExp m_continuationLines;
QRegExp m_caretLine;