File 1385-fix-typo.patch of Package erlang

From d0528e7a91befed810118663be25511816b84fab Mon Sep 17 00:00:00 2001
From: Anatolii <java1cprog@yandex.ru>
Date: Fri, 28 Jan 2022 06:56:07 +0200
Subject: [PATCH] fix typo

Fix typo in the code example
---
 lib/parsetools/doc/src/yecc.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/parsetools/doc/src/yecc.xml b/lib/parsetools/doc/src/yecc.xml
index 67a2c95c25..1809bbf272 100644
--- a/lib/parsetools/doc/src/yecc.xml
+++ b/lib/parsetools/doc/src/yecc.xml
@@ -335,7 +335,7 @@ element -> list : '$1'.    </code>
       <c>(a b c).</c>. This still assumes that this was the first
       input line that the scanner tokenized:</p>
     <code type="none">
-{cons, {atom, 1, a,} {cons, {atom, 1, b},
+{cons, {atom, 1, a}, {cons, {atom, 1, b},
                             {cons, {atom, 1, c}, nil}}}    </code>
     <p>The associated code contains <c>pseudo variables</c> <c>'$1'</c>, <c>'$2'</c>, <c>'$3'</c>, etc. which refer to (are
       bound to) the values associated previously by the parser with
-- 
2.34.1

openSUSE Build Service is sponsored by