File 0586-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/src/leex.erl b/lib/parsetools/src/leex.erl
index 8826fd11e7..84af62f409 100644
--- a/lib/parsetools/src/leex.erl
+++ b/lib/parsetools/src/leex.erl
@@ -341,7 +341,7 @@ This is a re-entrant call to try and scan a single token from `Chars`.
 
 If there are enough characters in `Chars` to either scan a token or
 detect an error then this will be returned with
-`{done,...}`. Otherwise `{cont,Cont}` will be returned where `Cont` is
+`{done,...}`. Otherwise `{more,Cont}` will be returned where `Cont` is
 used in the next call to `token()` with more characters to try an scan
 the token. This is continued until a token has been scanned. `Cont` is
 initially `[]`.
@@ -392,7 +392,7 @@ This is a re-entrant call to try and scan tokens from `Chars`.
 
 If there are enough characters in `Chars` to either scan tokens or
 detect an error then this will be returned with
-`{done,...}`. Otherwise `{cont,Cont}` will be returned where `Cont` is
+`{done,...}`. Otherwise `{more,Cont}` will be returned where `Cont` is
 used in the next call to `tokens()` with more characters to try an
 scan the tokens. This is continued until all tokens have been
 scanned. `Cont` is initially `[]`.
-- 
2.51.0

openSUSE Build Service is sponsored by