1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

don't report problems for circular inclusions

This commit is contained in:
Andrew Niefer 2004-05-28 19:29:24 +00:00
parent e7fadca73f
commit a38caa6521

View file

@ -749,7 +749,10 @@ public class SourceIndexerRequestor implements ISourceElementRequestor, IIndexCo
}
public boolean shouldRecordProblem( IProblem problem ){
return problem.checkCategory( IProblem.PREPROCESSOR_RELATED );
if( problem.checkCategory( IProblem.PREPROCESSOR_RELATED ) ){
return problem.getID() != IProblem.PREPROCESSOR_CIRCULAR_INCLUSION;
}
return false;
}
public void requestRemoveMarkers(IFile resource, IFile originator ){