1
0
Fork 0
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:
Doug Schaefer 2005-10-08 16:59:17 +00:00
parent a8e370f493
commit bae4e4f3fa

View file

@ -64,8 +64,9 @@ public class VCErrorParser implements IErrorParser {
if (file == null) {
desc = "*" + desc; //$NON-NLS-1$
}
String compareDesc = desc.toLowerCase();
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;
}
eoParser.generateMarker(file, num, desc, severity, null);