# HG changeset patch # User Christian Brabandt # Date 1450015205 -3600 # Node ID 38e4f3a246eb614c8cf8822c91c9b468d8196ee9 # Parent 8351346c290a46113529204f4b14aefb8898d991 commit https://github.com/vim/vim/commit/099fdde0f073315b7f2700786ae533d23a556348 Author: Bram Moolenaar Date: Sun Dec 13 14:45:21 2015 +0100 patch 7.4.971 Problem: The asin() function can't be used. Solution: Sort the function table properly. (Watiko) diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -8073,11 +8073,13 @@ static struct fst {"argidx", 0, 0, f_argidx}, {"arglistid", 0, 2, f_arglistid}, {"argv", 0, 1, f_argv}, +#ifdef FEAT_FLOAT + {"asin", 1, 1, f_asin}, /* WJMc */ +#endif {"assert_equal", 2, 3, f_assert_equal}, {"assert_false", 1, 2, f_assert_false}, {"assert_true", 1, 2, f_assert_true}, #ifdef FEAT_FLOAT - {"asin", 1, 1, f_asin}, /* WJMc */ {"atan", 1, 1, f_atan}, {"atan2", 2, 2, f_atan2}, #endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 971, +/**/ 970, /**/ 969,