mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-30 03:33:37 +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
|
2004-08-04 Mikhail Khodjaiants
|
||||||
Fix for bug 69085: Arrays in the Expressions view
|
Fix for bug 69085: Arrays in the Expressions view
|
||||||
* CArrayPartitionValue.java
|
* CArrayPartitionValue.java
|
||||||
|
|
|
@ -75,9 +75,8 @@ public class CType implements ICType
|
||||||
}
|
}
|
||||||
int[] dims = new int[length];
|
int[] dims = new int[length];
|
||||||
type = getCDIType();
|
type = getCDIType();
|
||||||
for ( int i = length; i > 0; --i )
|
for (int i = 0; i < length; i++) {
|
||||||
{
|
dims[i] = ((ICDIArrayType)type).getDimension();
|
||||||
dims[i - 1] = ((ICDIArrayType)type).getDimension();
|
|
||||||
type = ((ICDIDerivedType)type).getComponentType();
|
type = ((ICDIDerivedType)type).getComponentType();
|
||||||
}
|
}
|
||||||
return dims;
|
return dims;
|
||||||
|
|
Loading…
Add table
Reference in a new issue