mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 21:35:40 +02:00
Bug 320186 - Support MSbuild error pattern in VC error parser
Change-Id: I2bea83a4ec79104f4ce7099ced2a7cde1c77a129 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
This commit is contained in:
parent
6f20a51ae7
commit
8b3998eb41
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ import org.eclipse.cdt.core.errorparsers.ErrorPattern;
|
|||
public class VCErrorParser extends AbstractErrorParser {
|
||||
|
||||
private static final ErrorPattern[] patterns = {
|
||||
new ErrorPattern("(.+?)(\\(([0-9]+)\\))? : (fatal error|error|warning) (.*)", 1, 3, 5, 0, 0) { //$NON-NLS-1$
|
||||
new ErrorPattern("(.+?)(\\(([0-9]+)\\))?\\s*:\\s*(fatal error|error|warning) (.*)", 1, 3, 5, 0, 0) { //$NON-NLS-1$
|
||||
@Override
|
||||
public int getSeverity(Matcher matcher) {
|
||||
return "warning".equals(matcher.group(4)) //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue