Skip to content

Commit 131b5ac

Browse files
committed
fixup #24754
1 parent a33b5d3 commit 131b5ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,9 +700,9 @@ in macro rules). In the transcriber, the designator is already known, and so
700700
only the name of a matched nonterminal comes after the dollar sign.
701701

702702
In both the matcher and transcriber, the Kleene star-like operator indicates
703-
repetition. The Kleene star operator consists of `$` and parenthesis, optionally
703+
repetition. The Kleene star operator consists of `$` and parentheses, optionally
704704
followed by a separator token, followed by `*` or `+`. `*` means zero or more
705-
repetitions, `+` means at least one repetition. The parenthesis are not matched or
705+
repetitions, `+` means at least one repetition. The parentheses are not matched or
706706
transcribed. On the matcher side, a name is bound to _all_ of the names it
707707
matches, in a structure that mimics the structure of the repetition encountered
708708
on a successful match. The job of the transcriber is to sort that structure

0 commit comments

Comments
 (0)