GNU bug report logs - #71303
[PATCH] doc: Fix typo in PEG example.

Previous Next

Package: guile;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sat, 1 Jun 2024 03:56:01 UTC

Severity: normal

Tags: patch

Done: lloda <lloda <at> sarc.name>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guile <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH] doc: Fix typo in PEG example.
Date: Fri, 31 May 2024 23:55:14 -0400
* doc/ref/api-peg.texi (PEG API Reference): Fix typo in PEG example.

---

 doc/ref/api-peg.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ref/api-peg.texi b/doc/ref/api-peg.texi
index a6ab7080d..d34ddc64c 100644
--- a/doc/ref/api-peg.texi
+++ b/doc/ref/api-peg.texi
@@ -312,7 +312,7 @@ You can use this nonterminal with all of the regular PEG functions:
 
 @lisp
 (match-pattern as "aaaaa") @result{}
-#<peg start: 0 end: 5 string: bbbbb tree: bbbbb>
+#<peg start: 0 end: 5 string: aaaaa tree: aaaaa>
 @end lisp
 
 @subsubheading Parsing & Matching Functions

base-commit: 779a83d9c682345802f9a605cb8e2b4892129316
-- 
2.41.0





This bug report was last modified 1 year and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.