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:
parent
f44bd4b318
commit
4e81f0fce2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue