mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Propagate from cdt_3_0.
This commit is contained in:
parent
a8e370f493
commit
bae4e4f3fa
1 changed files with 2 additions and 1 deletions
|
@ -64,8 +64,9 @@ public class VCErrorParser implements IErrorParser {
|
||||||
if (file == null) {
|
if (file == null) {
|
||||||
desc = "*" + desc; //$NON-NLS-1$
|
desc = "*" + desc; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
String compareDesc = desc.toLowerCase();
|
||||||
int severity = IMarkerGenerator.SEVERITY_ERROR_RESOURCE;
|
int severity = IMarkerGenerator.SEVERITY_ERROR_RESOURCE;
|
||||||
if (desc.startsWith("warning") || desc.startsWith("remark")) { //$NON-NLS-1$ //$NON-NLS-2$
|
if (compareDesc.startsWith("warning") || compareDesc.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