Commit 86c2367c authored by Roberto Raggi's avatar Roberto Raggi
Browse files

In C++ 0x auto is a type specifier.

parent 933e5288
......@@ -3149,7 +3149,6 @@ bool Parser::lookAtStorageClassSpecifier() const
switch (LA()) {
case T_FRIEND:
case T_AUTO:
case T_STATIC:
case T_EXTERN:
......@@ -3175,6 +3174,7 @@ bool Parser::lookAtBuiltinTypeSpecifier() const
case T_FLOAT:
case T_DOUBLE:
case T_VOID:
case T_AUTO:
return true;
// [gcc] extensions
case T___TYPEOF__:
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