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

Implement problem marker for AC_CHECK_LIB macro.

Fix for https://fedorahosted.org/eclipse-packagekit/ticket/5 . 
Change-Id: Ic4466a7eb04c4acc5749eafd0536364c53ae6fdb
Reviewed-on: https://git.eclipse.org/r/9663
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
IP-Clean: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
This commit is contained in:
cabernal 2013-01-14 12:46:25 -05:00 committed by Jeff Johnston
parent d0c99408cd
commit 62fa044031
2 changed files with 3 additions and 1 deletions

View file

@ -21,7 +21,7 @@ import org.eclipse.core.runtime.IPath;
*/ */
public class AutotoolsProblemMarkerInfo { public class AutotoolsProblemMarkerInfo {
public static enum Type{PACKAGE, HEADER, PROG, FILE, GENERIC} public static enum Type{PACKAGE, HEADER, PROG, LIB, FILE, GENERIC}
private ProblemMarkerInfo marker; private ProblemMarkerInfo marker;

View file

@ -175,6 +175,8 @@ public class ErrorParser extends MarkerGenerator implements IErrorParser {
return AutotoolsProblemMarkerInfo.Type.HEADER; return AutotoolsProblemMarkerInfo.Type.HEADER;
if (typeString.equals("file")) if (typeString.equals("file"))
return AutotoolsProblemMarkerInfo.Type.FILE; return AutotoolsProblemMarkerInfo.Type.FILE;
if (typeString.equals("lib"))
return AutotoolsProblemMarkerInfo.Type.LIB;
return null; return null;
} }