Patch 8.2.2730
Problem: Coverity complains about not restoring character.
Solution: Also restore the character in case of an error.
Files: src/vim9compile.c
*** ../vim-8.2.2729/src/vim9compile.c 2021-04-06 21:17:23.930140057 +0200
--- src/vim9compile.c 2021-04-06 21:27:01.472592129 +0200
***************
*** 6108,6113 ****
--- 6108,6114 ----
{
// this should not happen
emsg(_(e_missbrac));
+ var_start[varlen] = c;
return FAIL;
}
var_start[varlen] = c;
*** ../vim-8.2.2729/src/version.c 2021-04-06 21:17:23.930140057 +0200
--- src/version.c 2021-04-06 21:29:21.400223126 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2730,
/**/
--
hundred-and-one symptoms of being an internet addict:
76. Your ISP regards you as a business partner rather than as a customer.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202104061929.136JTxwZ3420558%40masaka.moolenaar.net.