developing indexer/navigator

This commit is contained in:
Mirek Fidler 2022-07-25 12:55:16 +02:00
parent 43276ce7d1
commit ba681dbc3b
28 changed files with 466 additions and 535 deletions

View file

@ -887,7 +887,7 @@ String Ide::GetCurrentIncludePath()
Host host;
CreateHost(host, false, false);
One<Builder> b = CreateBuilder(&host);
Index<String> cfg = PackageConfig(wspc, GetPackageIndex(), GetMethodVars(method), mainconfigparam, host, *b);
Index<String> cfg = PackageConfig(wspc, max(GetPackageIndex(), 0), GetMethodVars(method), mainconfigparam, host, *b);
Index<String> pkg_config;
for(int i = 0; i < wspc.GetCount(); i++) {
const Package& pkg = wspc.GetPackage(i);