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

@@ -2214,6 +2214,7 @@ protected:
class CPLUSPLUS_EXPORT TemplateIdAST: public NameAST
{
public:
unsigned template_token;
unsigned identifier_token;
unsigned less_token;
ExpressionListAST *template_argument_list;
@@ -2221,7 +2222,8 @@ public:
public:
TemplateIdAST()
: identifier_token(0)
: template_token(0)
, identifier_token(0)
, less_token(0)
, template_argument_list(0)
, greater_token(0)