about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-02-27 10:23:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-02-27 10:23:58 +0000
commita85db682710c7435e1093844491b4caa35aee90e (patch)
treebc7b2edc02d41791ada9a78923f60253f87661dd /Src/lex.c
parent3d63a33407f1b4e324b83a87d55b27303a2fcdb8 (diff)
downloadzsh-a85db682710c7435e1093844491b4caa35aee90e.tar.gz
zsh-a85db682710c7435e1093844491b4caa35aee90e.tar.xz
zsh-a85db682710c7435e1093844491b4caa35aee90e.zip
26622: improve comments within $(...) and add test
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c3
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;
 	}