show full error path in xml files

This commit is contained in:
Daniel Marjamäki 2017-05-22 07:42:54 +02:00
parent a20fb4f36a
commit 7af58cf31a
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ protected:
ErrorPath errorPath; ErrorPath errorPath;
if (!value) { if (!value) {
errorPath.push_back(ErrorPathItem(errtok,bug)); errorPath.push_back(ErrorPathItem(errtok,bug));
} else if (_settings->verbose || _settings->outputFormat == "clang") { } else if (_settings->verbose || _settings->xml || _settings->outputFormat == "clang") {
errorPath = value->errorPath; errorPath = value->errorPath;
errorPath.push_back(ErrorPathItem(errtok,bug)); errorPath.push_back(ErrorPathItem(errtok,bug));
} else { } else {