diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/lex.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index dd9707722..ccbdf0a81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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-09 Oliver Kiddle <opk@zsh.org> * 18841: Completion/Base/Completer/_prefix: work around problem diff --git a/Src/lex.c b/Src/lex.c index e8810c261..88496c38c 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1508,7 +1508,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); |