diff options
| author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2020-03-26 20:54:37 +0000 |
|---|---|---|
| committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2020-03-26 20:54:37 +0000 |
| commit | 2a9674862ecaf9b7b1b66178782d47e8445df325 (patch) | |
| tree | 69b2003060115d100225ed5b93e772c78e5d8dfa /Src/loop.c | |
| parent | 45583/0008: Extend tests to prove that what remains of xsymlinks() handles sy... (diff) | |
| download | zsh-2a9674862ecaf9b7b1b66178782d47e8445df325.tar zsh-2a9674862ecaf9b7b1b66178782d47e8445df325.tar.gz zsh-2a9674862ecaf9b7b1b66178782d47e8445df325.tar.bz2 zsh-2a9674862ecaf9b7b1b66178782d47e8445df325.tar.lz zsh-2a9674862ecaf9b7b1b66178782d47e8445df325.tar.xz zsh-2a9674862ecaf9b7b1b66178782d47e8445df325.tar.zst zsh-2a9674862ecaf9b7b1b66178782d47e8445df325.zip | |
45616: Remove token from count argument to repeat
Diffstat (limited to 'Src/loop.c')
| -rw-r--r-- | Src/loop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Src/loop.c b/Src/loop.c index 95ef48b33..f13c8c4a9 100644 --- a/Src/loop.c +++ b/Src/loop.c @@ -499,8 +499,10 @@ execrepeat(Estate state, UNUSED(int do_exec)) lastval = 0; tmp = ecgetstr(state, EC_DUPTOK, &htok); - if (htok) + if (htok) { singsub(&tmp); + untokenize(tmp); + } count = mathevali(tmp); if (errflag) return 1; |
