1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 22:32:12 +02:00

POSIX "for" syntax.

This commit is contained in:
Bart Schaefer 2001-06-21 10:09:08 +00:00
parent ef89be124d
commit 6c074dfaf3
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2001-06-21 Bart Schaefer <schaefer@zsh.org>
* 15023: Src/parse.c: Accept newlines before the "in" keyword in
"for" and "select", per POSIX.
* 15020: Completion/Zsh/Command/_cd, Completion/Zsh/Context/_autocd,
Completion/Zsh/Type/_command_names: When AUTO_CD is set, complete
directory names (including along cdpath) as well as commands when

View file

@ -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;