forked from aniani/vim
updated for version 7.3.959
Problem: Missing error number. Solution: Assign an error number.
This commit is contained in:
@@ -1007,7 +1007,8 @@ ex_py3file(exarg_T *eap)
|
|||||||
DoPy3Command(eap, buffer, NULL);
|
DoPy3Command(eap, buffer, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ex_py3do(exarg_T *eap)
|
void
|
||||||
|
ex_py3do(exarg_T *eap)
|
||||||
{
|
{
|
||||||
linenr_T i;
|
linenr_T i;
|
||||||
const char *code_hdr = "def " DOPY_FUNC "(line, linenr):\n ";
|
const char *code_hdr = "def " DOPY_FUNC "(line, linenr):\n ";
|
||||||
@@ -1068,8 +1069,7 @@ void ex_py3do(exarg_T *eap)
|
|||||||
{
|
{
|
||||||
if (!PyUnicode_Check(pyret))
|
if (!PyUnicode_Check(pyret))
|
||||||
{
|
{
|
||||||
/* TODO: a proper error number */
|
EMSG(_("E863: return value must be an instance of str"));
|
||||||
EMSG(_("E000: return value must be an instance of str"));
|
|
||||||
Py_XDECREF(pyret);
|
Py_XDECREF(pyret);
|
||||||
status = 1;
|
status = 1;
|
||||||
goto out;
|
goto out;
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
959,
|
||||||
/**/
|
/**/
|
||||||
958,
|
958,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user