diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-12-04 13:37:41 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-12-04 13:37:41 +0100 |
commit | 3421566376b5723213af502bd3c2b9debe025ef1 (patch) | |
tree | be96cf6e3909b41b9422e9c46f8d73cb6feee845 /src/evalfunc.c | |
parent | a899e6ecc4523c7e411eaf6fbaa4197d70f6f39e (diff) | |
download | vim-git-3421566376b5723213af502bd3c2b9debe025ef1.tar.gz |
patch 8.0.0124v8.0.0124
Problem: Internal error for assert_inrange(1, 1).
Solution: Adjust number of allowed arguments. (Dominique Pelle)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 6721173c3..08be12bb1 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -471,7 +471,7 @@ static struct fst {"assert_exception", 1, 2, f_assert_exception}, {"assert_fails", 1, 2, f_assert_fails}, {"assert_false", 1, 2, f_assert_false}, - {"assert_inrange", 2, 3, f_assert_inrange}, + {"assert_inrange", 3, 4, f_assert_inrange}, {"assert_match", 2, 3, f_assert_match}, {"assert_notequal", 2, 3, f_assert_notequal}, {"assert_notmatch", 2, 3, f_assert_notmatch}, |