1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

Make the warning vs error discrimination pick up on warning like keywords

PR 85264
This commit is contained in:
Thomas Fletcher 2006-08-17 21:19:04 +00:00
parent efd20f87db
commit bcb893cbff
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2006-08-17 Thomas Fletcher
PR 85264 from James Blackburn
* org/eclipse/cdt/internal/errorparsers/GCCErrorParser.java
2006-08-17 Thomas Fletcher
PR 149428 modified from James Blackburn
* utils/org/eclipse/cdt/internal/core/model/CModelManager.java

View file

@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn - Patch for PR 85264
*******************************************************************************/
package org.eclipse.cdt.internal.errorparsers;
@ -32,7 +33,7 @@ public class GCCErrorParser extends AbstractErrorParser {
new ErrorPattern(": note:"),
new ErrorPattern("instantiated from here"),
// The following are not...
new ErrorPattern("(.*?):([0-9]+):([0-9]+:)? ((warning: )?.*)", 1, 2, 4, 0, 0) {
new ErrorPattern("(.*?):([0-9]+):([0-9]+:)? ((.*?[Ww]arning)?.*)", 1, 2, 4, 0, 0) {
public String getVarName(Matcher matcher) {
String desc = getDesc(matcher);
Matcher varMatcher = null;