Commit 0eddf5c0 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Accept C++0x initializers.

parent 9efa5d94
...@@ -2428,6 +2428,10 @@ bool Parser::parseInitializerList(ExpressionListAST *&node) ...@@ -2428,6 +2428,10 @@ bool Parser::parseInitializerList(ExpressionListAST *&node)
initializer_ptr = &(*initializer_ptr)->next; initializer_ptr = &(*initializer_ptr)->next;
} }
} }
if (_cxx0xEnabled && LA() == T_DOT_DOT_DOT)
consumeToken(); // ### store this token
return true; return true;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment