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

Fixed CModelManager.isValidTranslationUnitName() regression.

This commit is contained in:
John Camelon 2004-02-23 18:46:13 +00:00
parent 71bfb71873
commit a1a3f31dda
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
2004-02-22 John Camelon
Fixed CModelManager.isValidTranslationUnitName() regression.
2004-02-21 Alain Magloire 2004-02-21 Alain Magloire
Refactor the ICPathEntry to IPathEntry for consistency. Refactor the ICPathEntry to IPathEntry for consistency.

View file

@ -505,7 +505,7 @@ public class CModelManager implements IResourceChangeListener {
return false; return false;
} }
String ext = name.substring(index + 1); String ext = name.substring(index + 1);
String[] cexts = getHeaderExtensions(); String[] cexts = getTranslationUnitExtensions();
for (int i = 0; i < cexts.length; i++) { for (int i = 0; i < cexts.length; i++) {
if (ext.equals(cexts[i])) if (ext.equals(cexts[i]))
return true; return true;