vim-patch: finish port of 8.0.0{654,663,667}

Fix ex_function so that :endfunction passes the test.
Remove variables, added in 60c0252672.
This commit is contained in:
Jan Edmund Lazo
2018-07-07 08:16:07 -04:00
parent b5c0031d4e
commit 0ac67853b9
2 changed files with 36 additions and 28 deletions

View File

@@ -2763,6 +2763,12 @@ void give_warning(char_u *message, bool hl) FUNC_ATTR_NONNULL_ARG(1)
--no_wait_return;
}
void give_warning2(char_u *const message, char_u *const a1, bool hl)
{
vim_snprintf((char *)IObuff, IOSIZE, (char *)message, a1);
give_warning(IObuff, hl);
}
/*
* Advance msg cursor to column "col".
*/