about summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-06-21 10:09:08 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-06-21 10:09:08 +0000
commit6c074dfaf3f6f144d64056ddfb58984817f0296a (patch)
tree35cfd1285f2d6db136e3fb5e8eae3ef9abb4a4de /Src/parse.c
parentef89be124dd7a39aec3b5b4667ea6576efdbedb0 (diff)
downloadzsh-6c074dfaf3f6f144d64056ddfb58984817f0296a.tar.gz
zsh-6c074dfaf3f6f144d64056ddfb58984817f0296a.tar.xz
zsh-6c074dfaf3f6f144d64056ddfb58984817f0296a.zip
POSIX "for" syntax.
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/parse.c b/Src/parse.c
index dd89ab0cd..9ea691d2c 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -909,6 +909,8 @@ par_for(int *complex)
 	ecstr(tokstr);
 	incmdpos = 1;
 	yylex();
+	while (isnewlin && !csh)
+	  yylex();
 	if (tok == STRING && !strcmp(tokstr, "in")) {
 	    int np, n;