summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-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;
 	}