Remember the T_TEMPLATE token we use to force the parser to recognize a template-id.

This commit is contained in:
Roberto Raggi
2010-08-12 12:18:49 +02:00
parent 7f04af17a1
commit efb600665d
8 changed files with 43 additions and 27 deletions

View File

@@ -1347,6 +1347,8 @@ bool ASTMatcher::match(TemplateIdAST *node, TemplateIdAST *pattern)
(void) node;
(void) pattern;
pattern->template_token = node->template_token;
pattern->identifier_token = node->identifier_token;
pattern->less_token = node->less_token;