diff --git a/include/boost/parser/parser.hpp b/include/boost/parser/parser.hpp index 31caa8cd..2f361fb3 100644 --- a/include/boost/parser/parser.hpp +++ b/include/boost/parser/parser.hpp @@ -5915,7 +5915,7 @@ namespace boost { namespace parser { /** A `symbols` represents the initial state of a symbol table parser that produces attributes of type `T`. The entries in the symbol table - can be changed during parsing, but those mutations to not affect the + can be changed during parsing, but those mutations do not affect the `symbols` object itself; all mutations happen to a copy of the symbol table in the parse context. For table entries that should be used during every parse, add entries via `add()` or `operator()`. For @@ -6013,7 +6013,7 @@ namespace boost { namespace parser { } /** Inserts an entry consisting of a UTF-8 string to match `str`, and - an associtated attribute `x`, to the copy of the symbol table + an associated attribute `x`, to the copy of the symbol table inside the parse context `context`. */ template void insert(Context const & context, std::string_view str, T x) const @@ -6352,7 +6352,7 @@ namespace boost { namespace parser { // Directives. - /** Represents a unparameterized higher-order parser (e.g. `omit_parser`) + /** Represents an unparameterized higher-order parser (e.g. `omit_parser`) as a directive (e.g. `omit[other_parser]`). */ template class Parser> struct directive @@ -6430,7 +6430,7 @@ namespace boost { namespace parser { } /** A directive that represents a `perm_parser`, where the items parsed - are delimited by `DelimiterParser`, + are delimited by `DelimiterParser` (e.g. `delimiter(delimter_parser)[some_perm_parser]`). This directive only applies to `perm_parser`s. */ template @@ -7233,7 +7233,7 @@ namespace boost { namespace parser { /** The single-character parser. The produced attribute is the type of the matched code point (`char` or `char32_t`). Used as-is, `char_` - matches any code point. `char_` can also can be used to create code + matches any code point. `char_` can also be used to create code point parsers that match one or more specific code point values, by calling it with: a single value comparable to a code point; a closed range of code point values `[lo, hi]`, or a set of code point values @@ -7244,7 +7244,7 @@ namespace boost { namespace parser { inline constexpr parser_interface> char_; /** The code point parser. It produces a `char32_t` attribute. Used - as-is, `cp` matches any code point. `cp` can also can be used to + as-is, `cp` matches any code point. `cp` can also be used to create code point parsers that match one or more specific code point values, by calling it with: a single value comparable to a code point; a closed range of code point values `[lo, hi]`, or a set of code point