mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 06:35: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;
|
IScope scope= this;
|
||||||
IASTName[] segments= name.getNames();
|
IASTName[] segments= name.getNames();
|
||||||
try {
|
try {
|
||||||
for (int i= segments.length; --i >= 0;) {
|
for (int i= segments.length - 1; --i >= 0;) {
|
||||||
if (scope == null)
|
if (scope == null)
|
||||||
return false;
|
return false;
|
||||||
IName scopeName = scope.getScopeName();
|
IName scopeName = scope.getScopeName();
|
||||||
|
|
Loading…
Add table
Reference in a new issue