changeset 7332:38e4f3a246eb v7.4.971

commit https://github.com/vim/vim/commit/099fdde0f073315b7f2700786ae533d23a556348 Author: Bram Moolenaar <Bram@vim.org> 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)
author Christian Brabandt <cb@256bit.org>
date Sun, 13 Dec 2015 15:00:05 +0100
parents 8351346c290a
children 4219bca38d9c
files src/eval.c src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,