1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +02:00

fix bug 101334:resolvePrefix - unqualified name not found when using namespace directive

This commit is contained in:
Andrew Niefer 2005-06-22 21:04:23 +00:00
parent 0ca3d54210
commit 828b704126

View file

@ -893,7 +893,7 @@ public class CPPSemantics {
mergeResults( data, lookupInScope( data, scope, blockItem ), true );
}
if( !data.hasResults() && scope instanceof ICPPNamespaceScope ){
if( (!data.hasResults() || data.prefixLookup) && scope instanceof ICPPNamespaceScope ){
directives = new ArrayWrapper();
directives.array = ((ICPPNamespaceScope) scope).getUsingDirectives();
if( directives.array != null ){