summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-13 14:45:21 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-13 14:45:21 +0100
commit099fdde0f073315b7f2700786ae533d23a556348 (patch)
tree1224656efb7298216184fef7ff787dd2a758d606
parent9ec021a2b0dd35ba744a8e2a9430a643c85b922a (diff)
downloadvim-git-099fdde0f073315b7f2700786ae533d23a556348.tar.gz
patch 7.4.971v7.4.971
Problem: The asin() function can't be used. Solution: Sort the function table properly. (Watiko)
-rw-r--r--src/eval.c4
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 1 deletions
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
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 971,
+/**/
970,
/**/
969,