mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-29 19:23:38 +02:00
2004-08-14 Alain Magloire
Fix for 71992. * CType.java
This commit is contained in:
parent
1b5570c323
commit
066c8a91fc
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-08-14 Alain Magloire
|
||||
Fix for 71992.
|
||||
* CType.java
|
||||
|
||||
2004-08-04 Mikhail Khodjaiants
|
||||
Fix for bug 69085: Arrays in the Expressions view
|
||||
* CArrayPartitionValue.java
|
||||
|
|
|
@ -75,9 +75,8 @@ public class CType implements ICType
|
|||
}
|
||||
int[] dims = new int[length];
|
||||
type = getCDIType();
|
||||
for ( int i = length; i > 0; --i )
|
||||
{
|
||||
dims[i - 1] = ((ICDIArrayType)type).getDimension();
|
||||
for (int i = 0; i < length; i++) {
|
||||
dims[i] = ((ICDIArrayType)type).getDimension();
|
||||
type = ((ICDIDerivedType)type).getComponentType();
|
||||
}
|
||||
return dims;
|
||||
|
|
Loading…
Add table
Reference in a new issue