mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
bail out if the line does not match the pattern.
This commit is contained in:
parent
efa4e2ca1d
commit
e568ad331f
1 changed files with 2 additions and 10 deletions
|
@ -50,16 +50,8 @@ public class GCCErrorParser implements IErrorParser {
|
|||
}
|
||||
|
||||
if (num == -1) {
|
||||
// Maybe a bad option error or cc1(plus) error
|
||||
if (fileName.startsWith("cc") || fileName.startsWith("gcc")
|
||||
|| fileName.startsWith("qcc") || fileName.startsWith("QCC")) {
|
||||
// do nothing;
|
||||
if(line.indexOf("caught signal") != -1) {
|
||||
// Bail out not recognizable format. i.e. no line numbers
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
/* Then check for the column */
|
||||
int thirdColon= line.indexOf(':', secondColon + 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue