about summary refs log tree commit diff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-05-27 18:57:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-05-27 18:57:34 +0000
commit147cedfb6fa2973f6ff6ce69d63d98096b4e2604 (patch)
treee263053dbf28f5ae4bd88743fc06e4856e6ff9a9 /Src/zsh.h
parent43ee0cd4fd3ea9f87fe0428d41dc4010bdd8e61d (diff)
downloadzsh-147cedfb6fa2973f6ff6ce69d63d98096b4e2604.tar.gz
zsh-147cedfb6fa2973f6ff6ce69d63d98096b4e2604.tar.xz
zsh-147cedfb6fa2973f6ff6ce69d63d98096b4e2604.zip
27965, 27966: Improve ${(q)...}: newline appears as $'\n;,
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 1b1175cb2..77281aa75 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -218,7 +218,11 @@ enum {
      * Single quotes, but the default is not to quote unless necessary.
      * This is only useful as an argument to quotestring().
      */
-    QT_SINGLE_OPTIONAL
+    QT_SINGLE_OPTIONAL,
+    /*
+     * As QT_BACKSLASH, but a NULL string is shown as ''.
+     */
+    QT_BACKSLASH_SHOWNULL
 };
 
 #define QT_IS_SINGLE(x)	((x) == QT_SINGLE || (x) == QT_SINGLE_OPTIONAL)