Fix issue with GCC attribute syntax

This commit is contained in:
Jonathan Müller 2017-10-30 18:52:11 +01:00
commit da3d515d09
4 changed files with 15 additions and 17 deletions

View file

@ -191,7 +191,8 @@ namespace cppast
void skip_brackets(cxtoken_stream& stream);
// parses attributes
cpp_attribute_list parse_attributes(cxtoken_stream& stream);
// if skip_anyway is true it will bump even if no attributes have been parsed
cpp_attribute_list parse_attributes(cxtoken_stream& stream, bool skip_anyway = false);
// converts a token range to a string
cpp_token_string to_string(cxtoken_stream& stream, cxtoken_iterator end);