1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-08 02:53:12 +02:00

Fix for 170464: Can't disable binary parser

This commit is contained in:
Anton Leherbauer 2007-07-12 12:26:38 +00:00
parent 5894ebf4d9
commit d5a4e217b6

View file

@ -319,15 +319,12 @@ public class CModelManager implements IResourceChangeListener, ICDescriptorListe
}
if (CoreModel.isValidTranslationUnitName(cproject.getProject(), fileName)) {
celement = cfolder.getTranslationUnit(fileName);
} else {
IBinaryFile bin = createBinaryFile(file);
if (bin != null)
celement = create(file, bin, cproject);
}
break;
}
}
// check for binary on output entry
if (celement == null && cproject.isOnOutputEntry(file)) {
IBinaryFile bin = createBinaryFile(file);
if (bin != null)
@ -524,6 +521,9 @@ public class CModelManager implements IResourceChangeListener, ICDescriptorListe
}
parsers = new BinaryParserConfig[list.size()];
list.toArray(parsers);
} else {
// no parser configured
parsers = new BinaryParserConfig[0];
}
}
} catch (CoreException e) {