Skip to content

Commit fcbc53d

Browse files
ivanpanchtzlaine
authored andcommitted
Update parser.hpp
1 parent fed0a88 commit fcbc53d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/boost/parser/parser.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5915,7 +5915,7 @@ namespace boost { namespace parser {
59155915

59165916
/** A `symbols<T>` represents the initial state of a symbol table parser
59175917
that produces attributes of type `T`. The entries in the symbol table
5918-
can be changed during parsing, but those mutations to not affect the
5918+
can be changed during parsing, but those mutations do not affect the
59195919
`symbols<T>` object itself; all mutations happen to a copy of the
59205920
symbol table in the parse context. For table entries that should be
59215921
used during every parse, add entries via `add()` or `operator()`. For
@@ -6013,7 +6013,7 @@ namespace boost { namespace parser {
60136013
}
60146014

60156015
/** Inserts an entry consisting of a UTF-8 string to match `str`, and
6016-
an associtated attribute `x`, to the copy of the symbol table
6016+
an associated attribute `x`, to the copy of the symbol table
60176017
inside the parse context `context`. */
60186018
template<typename Context>
60196019
void insert(Context const & context, std::string_view str, T x) const
@@ -6352,7 +6352,7 @@ namespace boost { namespace parser {
63526352

63536353
// Directives.
63546354

6355-
/** Represents a unparameterized higher-order parser (e.g. `omit_parser`)
6355+
/** Represents an unparameterized higher-order parser (e.g. `omit_parser`)
63566356
as a directive (e.g. `omit[other_parser]`). */
63576357
template<template<class> class Parser>
63586358
struct directive
@@ -6430,7 +6430,7 @@ namespace boost { namespace parser {
64306430
}
64316431

64326432
/** A directive that represents a `perm_parser`, where the items parsed
6433-
are delimited by `DelimiterParser`,
6433+
are delimited by `DelimiterParser`
64346434
(e.g. `delimiter(delimter_parser)[some_perm_parser]`). This directive
64356435
only applies to `perm_parser`s. */
64366436
template<typename DelimiterParser>
@@ -7233,7 +7233,7 @@ namespace boost { namespace parser {
72337233

72347234
/** The single-character parser. The produced attribute is the type of
72357235
the matched code point (`char` or `char32_t`). Used as-is, `char_`
7236-
matches any code point. `char_` can also can be used to create code
7236+
matches any code point. `char_` can also be used to create code
72377237
point parsers that match one or more specific code point values, by
72387238
calling it with: a single value comparable to a code point; a closed
72397239
range of code point values `[lo, hi]`, or a set of code point values
@@ -7244,7 +7244,7 @@ namespace boost { namespace parser {
72447244
inline constexpr parser_interface<char_parser<detail::nope>> char_;
72457245

72467246
/** The code point parser. It produces a `char32_t` attribute. Used
7247-
as-is, `cp` matches any code point. `cp` can also can be used to
7247+
as-is, `cp` matches any code point. `cp` can also be used to
72487248
create code point parsers that match one or more specific code point
72497249
values, by calling it with: a single value comparable to a code point;
72507250
a closed range of code point values `[lo, hi]`, or a set of code point

0 commit comments

Comments
 (0)