about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2022-06-11 14:09:02 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2022-06-11 14:09:02 +0900
commit6a6e358baf1b40924dfe47300acaf34e5549850c (patch)
tree72c5829d9e75b9b7dd84c9d0a205c1854eb139a9
parent285b6c2538a3d5d427b13827679cb933a7e49c83 (diff)
downloadzsh-6a6e358baf1b40924dfe47300acaf34e5549850c.tar.gz
zsh-6a6e358baf1b40924dfe47300acaf34e5549850c.tar.xz
zsh-6a6e358baf1b40924dfe47300acaf34e5549850c.zip
50356: work around a yodl bug (mishandling of \'e)
the bug has been fixed at least in yodl-4.04.02
-rw-r--r--ChangeLog4
-rw-r--r--Etc/FAQ.yo3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2995844ae..33e3a4b17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-06-11  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
+
+	* 50356: Etc/FAQ.yo: work around a yodl bug (mishandling of \'e)
+
 2022-06-09  Bart Schaefer  <schaefer@zsh.org>
 
 	* 50363: Src/Modules/param_private.c: avoid use of heap memory
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo
index 8bd7262fe..8a6895454 100644
--- a/Etc/FAQ.yo
+++ b/Etc/FAQ.yo
@@ -1055,8 +1055,9 @@ label(31)
 
   Other ways of causing word splitting include a judicious use of
   `eval':
+  COMMENT(CHAR(39) is a workaround for a bug in some versions of yodl)\
   verb(
-    sentence="Longtemps, je me suis couch\\'e de bonne heure."
+    sentence="Longtemps, je me suis couch\\CHAR(39)e de bonne heure."
     eval "words=($sentence)"
   )
   after which $words is an array with the words of $sentence (note