]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.959 v7.3.959
authorBram Moolenaar <Bram@vim.org>
Wed, 15 May 2013 17:44:39 +0000 (19:44 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 15 May 2013 17:44:39 +0000 (19:44 +0200)
Problem:    Missing error number.
Solution:   Assign an error number.

src/if_python3.c
src/version.c

index 1d167142c8900dfa55f6e3510a434095cf4c1a8f..18987b7aa89bb7b0ff0c2f3e491c2b589694ee5f 100644 (file)
@@ -1007,7 +1007,8 @@ ex_py3file(exarg_T *eap)
     DoPy3Command(eap, buffer, NULL);
 }
 
-void ex_py3do(exarg_T *eap)
+    void
+ex_py3do(exarg_T *eap)
 {
     linenr_T           i;
     const char         *code_hdr = "def " DOPY_FUNC "(line, linenr):\n ";
@@ -1068,8 +1069,7 @@ void ex_py3do(exarg_T *eap)
        {
            if (!PyUnicode_Check(pyret))
            {
-               /* TODO: a proper error number */
-               EMSG(_("E000: return value must be an instance of str"));
+               EMSG(_("E863: return value must be an instance of str"));
                Py_XDECREF(pyret);
                status = 1;
                goto out;
index aee5207dd3f11a853c7ba49cccfe7ef9026f5b67..abdf18af2ec7f2f4b89ab12157f0833492baf746 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    959,
 /**/
     958,
 /**/