File 0035-Include-ending-dot-in-yecc-s-Header-code-example.patch of Package erlang
From e352df61fb15aac399dfe661193cf79190291ca5 Mon Sep 17 00:00:00 2001
From: Jon Parise <jon@indelible.org>
Date: Sun, 26 Feb 2017 15:31:24 -0800
Subject: [PATCH] Include ending dot in yecc's Header code example
All yecc declarations must end in a dot (.). The code example for the
Header declaration doesn't include a trailing dot while all other code
examples do. This change adds that dot for consistency and to avoid any
potential confusion on the part of the reader.
---
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 9188bd2a2..004fc1668 100644
--- a/lib/parsetools/doc/src/yecc.xml
+++ b/lib/parsetools/doc/src/yecc.xml
@@ -207,7 +207,7 @@
<code>
Header "%% Copyright (C)"
"%% @private"
-"%% @Author John"</code>
+"%% @Author John".</code>
<p>Next comes a declaration of the <c>nonterminal categories</c>
to be used in the rules. For example:</p>
<code type="none">
--
2.12.0