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:
parent
71bfb71873
commit
a1a3f31dda
2 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
2004-02-22 John Camelon
|
||||
Fixed CModelManager.isValidTranslationUnitName() regression.
|
||||
|
||||
2004-02-21 Alain Magloire
|
||||
|
||||
Refactor the ICPathEntry to IPathEntry for consistency.
|
||||
|
|
|
@ -505,7 +505,7 @@ public class CModelManager implements IResourceChangeListener {
|
|||
return false;
|
||||
}
|
||||
String ext = name.substring(index + 1);
|
||||
String[] cexts = getHeaderExtensions();
|
||||
String[] cexts = getTranslationUnitExtensions();
|
||||
for (int i = 0; i < cexts.length; i++) {
|
||||
if (ext.equals(cexts[i]))
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue