]> granicus.if.org Git - vim/commitdiff
patch 7.4.971 v7.4.971
authorBram Moolenaar <Bram@vim.org>
Sun, 13 Dec 2015 13:45:21 +0000 (14:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 Dec 2015 13:45:21 +0000 (14:45 +0100)
Problem:    The asin() function can't be used.
Solution:   Sort the function table properly. (Watiko)

src/eval.c
src/version.c

index ef0ea5ee2ba6852d754f82f1be66c1996280bcc6..2668f3db5bade7a5c4585cb2806ec88a753aaaa6 100644 (file)
@@ -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
index 803e139a2ea0f07ada8df25c664a185ec2fbfc88..14365945de82b3de9612092a2bacde0bb61c22f1 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    971,
 /**/
     970,
 /**/