diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-02-27 10:23:58 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-02-27 10:23:58 +0000 |
commit | a85db682710c7435e1093844491b4caa35aee90e (patch) | |
tree | bc7b2edc02d41791ada9a78923f60253f87661dd /Src | |
parent | 3d63a33407f1b4e324b83a87d55b27303a2fcdb8 (diff) | |
download | zsh-a85db682710c7435e1093844491b4caa35aee90e.tar.gz zsh-a85db682710c7435e1093844491b4caa35aee90e.tar.xz zsh-a85db682710c7435e1093844491b4caa35aee90e.zip |
26622: improve comments within $(...) and add test
Diffstat (limited to 'Src')
-rw-r--r-- | Src/lex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/lex.c b/Src/lex.c index 6e14612f7..466447963 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1813,7 +1813,7 @@ skipcomm(void) c = hgetc(); if (itok(c) || lexstop) break; - iswhite = isep(c); + iswhite = inblank(c); switch (c) { case '(': pct++; @@ -1861,6 +1861,7 @@ skipcomm(void) add(c); while ((c = hgetc()) != '\n' && !lexstop) add(c); + iswhite = 1; } break; } |