]> granicus.if.org Git - vim/commitdiff
patch 8.1.1801: cannot build without the +eval feature v8.1.1801
authorBram Moolenaar <Bram@vim.org>
Sat, 3 Aug 2019 16:28:17 +0000 (18:28 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Aug 2019 16:28:17 +0000 (18:28 +0200)
Problem:    Cannot build without the +eval feature.
Solution:   Always define funcexe_T.

src/structs.h
src/version.c

index e3f6a73fe40da038b9b8d72c8a176b4029b957e4..73cacef2044692524684c30ade78060e2fa4469d 100644 (file)
@@ -1517,22 +1517,6 @@ struct funccall_S
                                // "func"
 };
 
-// Struct passed between functions dealing with function call execution.
-//
-// "argv_func", when not NULL, can be used to fill in arguments only when the
-// invoked function uses them.  It is called like this:
-//   new_argcount = argv_func(current_argcount, argv, called_func_argcount)
-//
-typedef struct {
-    int                (* argv_func)(int, typval_T *, int);
-    linenr_T   firstline;      // first line of range
-    linenr_T   lastline;       // last line of range
-    int                *doesrange;     // if not NULL: return: function handled range
-    int                evaluate;       // actually evaluate expressions
-    partial_T  *partial;       // for extra arguments
-    dict_T     *selfdict;      // Dictionary for "self"
-} funcexe_T;
-
 /*
  * Struct used by trans_function_name()
  */
@@ -1621,6 +1605,22 @@ typedef struct
 } scriptitem_T;
 #endif
 
+// Struct passed between functions dealing with function call execution.
+//
+// "argv_func", when not NULL, can be used to fill in arguments only when the
+// invoked function uses them.  It is called like this:
+//   new_argcount = argv_func(current_argcount, argv, called_func_argcount)
+//
+typedef struct {
+    int                (* argv_func)(int, typval_T *, int);
+    linenr_T   firstline;      // first line of range
+    linenr_T   lastline;       // last line of range
+    int                *doesrange;     // if not NULL: return: function handled range
+    int                evaluate;       // actually evaluate expressions
+    partial_T  *partial;       // for extra arguments
+    dict_T     *selfdict;      // Dictionary for "self"
+} funcexe_T;
+
 struct partial_S
 {
     int                pt_refcount;    // reference count
index 92d8482e8c79908d94898d6ff469c028b40c44d4..f769211046f927c60f64bc66f4e4e5cf39e75f80 100644 (file)
@@ -773,6 +773,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1801,
 /**/
     1800,
 /**/