Fix issue with GCC attribute syntax
This commit is contained in:
parent
478fd4e90c
commit
da3d515d09
4 changed files with 15 additions and 17 deletions
|
|
@ -561,12 +561,16 @@ namespace
|
|||
}
|
||||
}
|
||||
|
||||
cpp_attribute_list detail::parse_attributes(detail::cxtoken_stream& stream)
|
||||
cpp_attribute_list detail::parse_attributes(detail::cxtoken_stream& stream, bool skip_anway)
|
||||
{
|
||||
cpp_attribute_list result;
|
||||
|
||||
while (parse_attribute_impl(result, stream))
|
||||
{
|
||||
}
|
||||
skip_anway = false;
|
||||
|
||||
if (skip_anway)
|
||||
stream.bump();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue