diff options
| author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-12-07 21:49:07 +0000 |
|---|---|---|
| committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-12-07 21:49:07 +0000 |
| commit | f5b8efa7e0450450a91c8263733502f9de6729b4 (patch) | |
| tree | 29b5f892a5d76ab66179b0502a25b9f95840093c /Src/zsh.h | |
| parent | 37331: Use a single chracter to represent an MB_INCOMPLETE. (diff) | |
| download | zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar.gz zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar.bz2 zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar.lz zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar.xz zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.tar.zst zsh-f5b8efa7e0450450a91c8263733502f9de6729b4.zip | |
37344: restore old printable quoting, add ${(q+)...}.
The \C- form is only used inside quotedzputs().
${(q+)...} outputs a quotedzputs() representation.
Diffstat (limited to 'Src/zsh.h')
| -rw-r--r-- | Src/zsh.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -272,7 +272,12 @@ enum { /* * As QT_BACKSLASH, but a NULL string is shown as ''. */ - QT_BACKSLASH_SHOWNULL + QT_BACKSLASH_SHOWNULL, + /* + * Quoting as produced by quotedzputs(), used for human + * readability of parameter values. + */ + QT_QUOTEDZPUTS }; #define QT_IS_SINGLE(x) ((x) == QT_SINGLE || (x) == QT_SINGLE_OPTIONAL) @@ -3055,6 +3060,7 @@ enum { enum { NICEFLAG_HEAP = 1, /* Heap allocation where needed */ NICEFLAG_QUOTE = 2, /* Result will appear in $'...' */ + NICEFLAG_NODUP = 4, /* Leave allocated */ }; /* Metafied input */ |
