mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
2004-11-11 Alain Magloire
PR 78573, patch from Brad Jarvinen * src/org/eclipse/cdt/internal/errorparser/VCErroParser.java
This commit is contained in:
parent
4cc2406abf
commit
40c7fa80a3
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-11-11 Alain Magloire
|
||||||
|
PR 78573, patch from Brad Jarvinen
|
||||||
|
* src/org/eclipse/cdt/internal/errorparser/VCErroParser.java
|
||||||
|
|
||||||
2004-11-11 Alain Magloire
|
2004-11-11 Alain Magloire
|
||||||
PR 78570, patch from Brad Jarvinen
|
PR 78570, patch from Brad Jarvinen
|
||||||
The default VC error parser understands (<line number>) but doesn't understand
|
The default VC error parser understands (<line number>) but doesn't understand
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class VCErrorParser implements IErrorParser {
|
||||||
desc = "*" + desc; //$NON-NLS-1$
|
desc = "*" + desc; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
int severity = IMarkerGenerator.SEVERITY_ERROR_RESOURCE;
|
int severity = IMarkerGenerator.SEVERITY_ERROR_RESOURCE;
|
||||||
if (desc.startsWith("warning")) { //$NON-NLS-1$
|
if (desc.startsWith("warning") || desc.startsWith("remark")) { //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
severity = IMarkerGenerator.SEVERITY_WARNING;
|
severity = IMarkerGenerator.SEVERITY_WARNING;
|
||||||
}
|
}
|
||||||
eoParser.generateMarker(file, num, desc, severity, null);
|
eoParser.generateMarker(file, num, desc, severity, null);
|
||||||
|
|
Loading…
Add table
Reference in a new issue