Accepts `...' when parsing declarator-ids in C++0x.

This commit is contained in:
Roberto Raggi
2010-03-25 10:26:33 +01:00
parent a52b826600
commit ddcc40d0fc
5 changed files with 26 additions and 4 deletions

View File

@@ -1368,11 +1368,13 @@ protected:
class CPLUSPLUS_EXPORT DeclaratorIdAST: public CoreDeclaratorAST
{
public:
unsigned dot_dot_dot_token;
NameAST *name;
public:
DeclaratorIdAST()
: name(0)
: dot_dot_dot_token(0)
, name(0)
{}
virtual DeclaratorIdAST *asDeclaratorId() { return this; }