mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
ask for scannerinfo of resource instead of project
This commit is contained in:
parent
1e470bd109
commit
3c69bad0a7
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ public class SourceIndexer extends AbstractIndexer {
|
|||
IScannerInfo scanInfo = new ScannerInfo();
|
||||
IScannerInfoProvider provider = CCorePlugin.getDefault().getScannerInfoProvider(currentProject);
|
||||
if (provider != null){
|
||||
IScannerInfo buildScanInfo = provider.getScannerInformation(currentProject);
|
||||
IScannerInfo buildScanInfo = provider.getScannerInformation(resourceFile);
|
||||
if (buildScanInfo != null){
|
||||
scanInfo = new ScannerInfo(buildScanInfo.getDefinedSymbols(), buildScanInfo.getIncludePaths());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue