File 0708-Leex-Document-Fix-Replaced-the-wrong-cont-Cont-with-.patch of Package erlang
From bc23029e61f3df57445b1f75d80a1df62205d37a Mon Sep 17 00:00:00 2001
From: wallacegibbon <wallacegibbon@aliyun.com>
Date: Wed, 17 Dec 2025 11:15:39 +0800
Subject: [PATCH] Leex Document Fix: Replaced the wrong `{cont, Cont}` with
`{more, Cont}`.
---
lib/parsetools/src/leex.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/parsetools/doc/src/leex.xml b/lib/parsetools/doc/src/leex.xml
index 8826fd11e7..84af62f409 100644
--- a/lib/parsetools/doc/src/leex.xml
+++ b/lib/parsetools/doc/src/leex.xml
@@ -180,7 +180,7 @@
<c>Chars</c>. If there are enough characters in <c>Chars</c>
to either scan a token or detect an error then this will be
returned with <c>{done,...}</c>. Otherwise
- <c>{cont,Cont}</c> will be returned where <c>Cont</c> is
+ <c>{more,Cont}</c> will be returned where <c>Cont</c> is
used in the next call to <c>token()</c> with more characters
to try an scan the token. This is continued until a token
has been scanned. <c>Cont</c> is initially <c>[]</c>.</p>
@@ -203,7 +203,7 @@ io:request(InFile, {get_until,unicode,Pr
<c>Chars</c>. If there are enough characters in <c>Chars</c>
to either scan tokens or detect an error then this will be
returned with <c>{done,...}</c>. Otherwise
- <c>{cont,Cont}</c> will be returned where <c>Cont</c> is
+ <c>{more,Cont}</c> will be returned where <c>Cont</c> is
used in the next call to <c>tokens()</c> with more
characters to try an scan the tokens. This is continued
until all tokens have been scanned. <c>Cont</c> is initially
--
2.51.0