summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/zman.yo2
-rw-r--r--Doc/ztexi.yo2
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5397c6c51..3fd4d9908 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-13  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+	* 37090: Doc/zman.yo, Doc/ztexi.yo: handle blank lines correctly
+	in yodl macro example()
+
 2015-11-12  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 37096: Src/subst.c, Test/D04parameter.ztst: make top-level
diff --git a/Doc/zman.yo b/Doc/zman.yo
index 73cc186e0..5050edb8b 100644
--- a/Doc/zman.yo
+++ b/Doc/zman.yo
@@ -174,9 +174,11 @@ def(itemiz)(1)(\
 COMMENT(--- special effects ---)
 
 def(example)(1)(\
+  undef(PARAGRAPH)\
   NOTRANS(.RS)+NL()NOTRANS(.nf)+NL()\
   NOTRANS(\fB)ARG1+NOTRANS(\fP)\
   +NL()NOTRANS(.fi)+NL()NOTRANS(.RE)\
+  STDPAR()\
 )
 
 def(nofill)(1)(\
diff --git a/Doc/ztexi.yo b/Doc/ztexi.yo
index 699567724..e8783459e 100644
--- a/Doc/ztexi.yo
+++ b/Doc/ztexi.yo
@@ -225,9 +225,11 @@ def(nofill)(1)(\
 )
 
 def(example)(1)(\
+  undef(PARAGRAPH)\
   NOTRANS(@example)+NL()\
   ARG1\
   +NL()NOTRANS(@end example)\
+  STDPAR()\
 )
 
 def(indent)(1)(\