diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-11-12 11:15:09 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-11-12 13:51:15 +0100 |
commit | c089bff6fa3a8589c553ce3446bd7493fd6cafc7 (patch) | |
tree | ae87d6dee2e5b550c6e09c807814183f76dccdd9 /src/plugins/qtsupport/qtoutputformatter.cpp | |
parent | 80819b3de72451bf3dfed81f9c6d96133d5b17a3 (diff) |
Qt Formatter: Be less picky about file urls
Accept colon, space or tab after the location (url:line and optional :column).
Apparently in QML each and every error message is built up as the responsible
developer thinks it makes the most sense and no two seem to agree on a common
format.
Task-number: QTCREATORBUG-10692
Change-Id: I103ae6eeb12b427cce2069db7da5d98a0737bda6
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/qtsupport/qtoutputformatter.cpp')
-rw-r--r-- | src/plugins/qtsupport/qtoutputformatter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/qtoutputformatter.cpp b/src/plugins/qtsupport/qtoutputformatter.cpp index 1c4ffd624d3..2df3bf814ff 100644 --- a/src/plugins/qtsupport/qtoutputformatter.cpp +++ b/src/plugins/qtsupport/qtoutputformatter.cpp @@ -44,7 +44,7 @@ QtOutputFormatter::QtOutputFormatter(ProjectExplorer::Project *project) , m_qmlError(QLatin1String("^(file:///.+" // file url ":\\d+" // colon, line "(?::\\d+)?)" // colon, column (optional) - ":")) // colon + "[: \t]")) // colon, space or tab , m_qtError(QLatin1String("Object::.*in (.*:\\d+)")) , m_qtAssert(QLatin1String("ASSERT: .* in file (.+, line \\d+)")) , m_qtAssertX(QLatin1String("ASSERT failure in .*: \".*\", file (.+, line \\d+)")) |