Index: parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java =================================================================== RCS file: /home/tools/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java,v retrieving revision 1.118 diff -u -r1.118 CPPSemantics.java --- parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java 28 Jun 2005 20:33:41 -0000 1.118 +++ parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java 5 Jul 2005 14:36:00 -0000 @@ -958,7 +958,7 @@ ICPPScope scope = null; if( start instanceof ICPPScope ) scope = (ICPPScope) start; - else + else if ( start != null ) scope = getLookupScope( (IASTName) start ); boolean friendInLocalClass = false;