diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-17 09:44:38 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-07-17 09:44:38 +0000 |
| commit | 74f47913dae9a1427e553ac01ef0a3a6ba1095b8 (patch) | |
| tree | 06b7237387d9114975ba1fdbd101940664ccde1a | |
| parent | 18863: new completion for aap (diff) | |
| download | zsh-74f47913dae9a1427e553ac01ef0a3a6ba1095b8.tar zsh-74f47913dae9a1427e553ac01ef0a3a6ba1095b8.tar.gz zsh-74f47913dae9a1427e553ac01ef0a3a6ba1095b8.tar.bz2 zsh-74f47913dae9a1427e553ac01ef0a3a6ba1095b8.tar.lz zsh-74f47913dae9a1427e553ac01ef0a3a6ba1095b8.tar.xz zsh-74f47913dae9a1427e553ac01ef0a3a6ba1095b8.tar.zst zsh-74f47913dae9a1427e553ac01ef0a3a6ba1095b8.zip | |
18864: unnecessary space with ${(Q)...}
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Src/lex.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2003-07-17 Peter Stephenson <pws@csr.com> + + * 18864: Src/lex.c: unnecessary spaces with empty substitutions + when using ${(Q)...} flag. + 2003-07-17 Doug Kearns <djkea2@mugca.its.monash.edu.au> * 18863: Completion/Unix/Command/_aap: new completion for aap @@ -1512,7 +1512,7 @@ parse_subst_string(char *s) { int c, l = strlen(s), err, olen; - if (! *s) + if (!*s || !strcmp(s, nulstring)) return 0; lexsave(); untokenize(s); |
