From a35e1c9373ccbe49280d26d9061eaa6d109ad275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Hovs=C3=A4ter?= Date: Sat, 28 Feb 2026 10:26:44 +0100 Subject: [PATCH] Fix std/pegs sequence example (#25562) This corrects the example used to describe `std/pegs` sequence notion. It incorrectly used `Z` whereas `C` was expected. (cherry picked from commit c36617c4902ee828c2b919606673d83f7fab2b60) --- doc/pegdocs.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/pegdocs.txt b/doc/pegdocs.txt index 0a8fd81878..8b2814ee20 100644 --- a/doc/pegdocs.txt +++ b/doc/pegdocs.txt @@ -20,8 +20,8 @@ notation meaning as they succeed. Indicate success if all succeeded. Otherwise, do not consume any text and indicate failure. The sequence's precedence is higher than that of ordered - choice: ``A B / C`` means ``(A B) / Z`` and - not ``A (B / Z)``. + choice: ``A B / C`` means ``(A B) / C`` and + not ``A (B / C)``. ``(E)`` Grouping: Parenthesis can be used to change operator priority. ``{E}`` Capture: Apply expression `E` and store the substring