Added attributes to the elaborate-type-specifier AST node.

This commit is contained in:
Erik Verbruggen
2010-03-22 18:23:17 +01:00
parent 58f5b02dc0
commit 7a3fbf120a
5 changed files with 13 additions and 0 deletions

View File

@@ -834,6 +834,8 @@ unsigned ElaboratedTypeSpecifierAST::lastToken() const
{
if (name)
return name->lastToken();
if (attribute_list)
return attribute_list->lastToken();
return classkey_token + 1;
}