mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix to 53253
This commit is contained in:
parent
e73afe6adb
commit
4eab4a897e
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-03-03 Alain Magloire
|
||||
|
||||
From Sean Sevoy. Fix to VCErrorParser.java
|
||||
PR 53253.
|
||||
|
||||
* src/org/eclipse/cdt/internal/errorparsers/VCErrorParser.java
|
||||
|
||||
2004-03-03 Hoda Amer
|
||||
A fix for getChildren() to check if the getElementInfo() is null
|
||||
|
||||
|
|
|
@ -8,7 +8,9 @@ import org.eclipse.cdt.core.ErrorParserManager;
|
|||
import org.eclipse.cdt.core.IErrorParser;
|
||||
import org.eclipse.cdt.core.IMarkerGenerator;
|
||||
import org.eclipse.core.resources.IFile;
|
||||
|
||||
public class VCErrorParser implements IErrorParser {
|
||||
|
||||
public boolean processLine(String line, ErrorParserManager eoParser) {
|
||||
// msdev: filname(linenumber) : error/warning error_desc
|
||||
int firstColon = line.indexOf(':');
|
||||
|
@ -28,6 +30,9 @@ public class VCErrorParser implements IErrorParser {
|
|||
} catch (SecurityException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (firstColon != -1) {
|
||||
String firstPart = line.substring(0, firstColon);
|
||||
StringTokenizer tok = new StringTokenizer(firstPart, "()"); //$NON-NLS-1$
|
||||
if (tok.hasMoreTokens()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue