From: Bram Moolenaar Date: Sun, 13 Dec 2015 13:45:21 +0000 (+0100) Subject: patch 7.4.971 X-Git-Tag: v7.4.971 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=099fdde0f073315b7f2700786ae533d23a556348;p=vim 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 index ef0ea5ee2..2668f3db5 100644 --- 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 index 803e139a2..14365945d 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 971, /**/ 970, /**/