Mercurial > vim
comparison src/userfunc.c @ 21058:111f877e63d9 v8.2.1080
patch 8.2.1080: Vim9: no line break allowed in a for loop
Commit: https://github.com/vim/vim/commit/b7a78f7a6713f07d2fcad0b27dea22925c7b1cdf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 28 18:43:40 2020 +0200
patch 8.2.1080: Vim9: no line break allowed in a for loop
Problem: Vim9: no line break allowed in a for loop.
Solution: Skip line breaks in for command.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Jun 2020 18:45:04 +0200 |
parents | 0ca7e04d39e3 |
children | 48cfc37fe4fc |
comparison
equal
deleted
inserted
replaced
21057:77d9be8bbf27 | 21058:111f877e63d9 |
---|---|
3823 else if (eap->nextcmd == NULL) // no argument | 3823 else if (eap->nextcmd == NULL) // no argument |
3824 eap->nextcmd = check_nextcmd(arg); | 3824 eap->nextcmd = check_nextcmd(arg); |
3825 | 3825 |
3826 if (eap->skip) | 3826 if (eap->skip) |
3827 --emsg_skip; | 3827 --emsg_skip; |
3828 clear_evalarg(&evalarg, eap); | |
3828 } | 3829 } |
3829 | 3830 |
3830 /* | 3831 /* |
3831 * ":1,25call func(arg1, arg2)" function call. | 3832 * ":1,25call func(arg1, arg2)" function call. |
3832 */ | 3833 */ |