From efb600665d3cb277d330974bcfd90a1da8dc6395 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Thu, 12 Aug 2010 12:18:49 +0200 Subject: Remember the T_TEMPLATE token we use to force the parser to recognize a template-id. --- src/shared/cplusplus/ASTMatcher.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/cplusplus/ASTMatcher.cpp') diff --git a/src/shared/cplusplus/ASTMatcher.cpp b/src/shared/cplusplus/ASTMatcher.cpp index 2b4c88bf93..5737bf0f53 100644 --- a/src/shared/cplusplus/ASTMatcher.cpp +++ b/src/shared/cplusplus/ASTMatcher.cpp @@ -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; -- cgit v1.2.1