From 147cedfb6fa2973f6ff6ce69d63d98096b4e2604 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 27 May 2010 18:57:34 +0000 Subject: 27965, 27966: Improve ${(q)...}: newline appears as $'\n;, --- Src/zsh.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Src/zsh.h') 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) -- cgit 1.4.1