1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

fix bug 74202

This commit is contained in:
Andrew Niefer 2004-11-15 21:09:01 +00:00
parent 4c5be532cc
commit 50054ebf36

View file

@ -2181,7 +2181,7 @@ public class CompleteParseASTFactory extends BaseASTFactory implements IASTFacto
IParameterizedSymbol functionDeclaration = null;
functionDeclaration =
(IParameterizedSymbol) lookupQualifiedName(ownerScope, name.getFirstToken().getCharImage(), ITypeInfo.t_function, functionParameters, 0, null, false, LookupType.FORDEFINITION );
(IParameterizedSymbol) lookupQualifiedName(ownerScope, name.extractNameFromTemplateId(), ITypeInfo.t_function, functionParameters, 0, null, false, LookupType.FORDEFINITION );
if( functionDeclaration != null && symbol.isType( ITypeInfo.t_function )){
previouslyDeclared = true;