Handle fully qualified types in the root namespace for template typenames.

For example:
    template <typename ::foo::bar>...

Done by: Roberto Raggi
Reviewed-by: erikv
This commit is contained in:
Erik Verbruggen
2010-04-12 13:03:47 +02:00
parent 9024558eea
commit fcedcc510a

View File

@@ -1588,6 +1588,9 @@ bool Parser::lookAtTypeParameter() const
default:
return false;
}
} else if (LA(2) == T_COLON_COLON) {
// found something like template <typename ::foo::bar>...
return false;
}
// recognized an anonymous template type parameter. e.g