1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 14:15:50 +02:00

Fixed a broken test.

This commit is contained in:
Sergey Prigogin 2013-09-10 13:15:21 -07:00
parent f44bd4b318
commit 4e81f0fce2

View file

@ -160,7 +160,7 @@ public class CPPNamespaceScope extends CPPScope implements ICPPInternalNamespace
IScope scope= this;
IASTName[] segments= name.getNames();
try {
for (int i= segments.length; --i >= 0;) {
for (int i= segments.length - 1; --i >= 0;) {
if (scope == null)
return false;
IName scopeName = scope.getScopeName();