Fixed parsing of template-ids.

Task-number: QTCREATORBUG-74
This commit is contained in:
Roberto Raggi
2009-12-09 12:32:04 +01:00
parent 2b5016caf5
commit 0a5b2eed4c

View File

@@ -3400,6 +3400,9 @@ bool Parser::parseNameId(NameAST *&name)
if (! parseName(name))
return false;
if (LA() == T_RPAREN || LA() == T_COMMA)
return true;
QualifiedNameAST *qualified_name_id = name->asQualifiedName();
TemplateIdAST *template_id = 0;