1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 23:05:47 +02:00

Fixed Andrew's latest template test.

This commit is contained in:
John Camelon 2004-06-01 21:25:23 +00:00
parent 20a1cd8f35
commit cb8b2e2d42

View file

@ -796,9 +796,16 @@ public class CompleteParseASTFactory extends BaseASTFactory implements IASTFacto
{
handleProblem( e2.createProblemID(), newSymbolName );
}
if( name != null && name.getTemplateIdArgLists() != null )
{
for( int i = 0; i < name.getTemplateIdArgLists().length; ++i )
addTemplateIdReferences( references, name.getTemplateIdArgLists()[i]);
name.freeReferences( cache );
}
ASTClassSpecifier classSpecifier = new ASTClassSpecifier( newSymbol, kind, type, access, startingOffset, startingLine, nameOffset, nameEndOffset, nameLine, references );
attachSymbolExtension(newSymbol, classSpecifier, true );
return classSpecifier;
}