Patch 8.2.3273

5 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 1, 2021, 4:02:01 PM8/1/21
to vim...@googlegroups.com

Patch 8.2.3273
Problem: Autocmd test fails.
Solution: Require white space before the "{" that starts a block.
Files: src/userfunc.c


*** ../vim-8.2.3272/src/userfunc.c 2021-08-01 21:19:40.126538391 +0200
--- src/userfunc.c 2021-08-01 21:59:37.813253973 +0200
***************
*** 901,907 ****
end = p + STRLEN(p) - 1;
while (end > p && VIM_ISWHITE(*end))
--end;
! if (end > p && *end == '{')
{
int is_block;

--- 901,907 ----
end = p + STRLEN(p) - 1;
while (end > p && VIM_ISWHITE(*end))
--end;
! if (end > p + 1 && *end == '{' && VIM_ISWHITE(end[-1]))
{
int is_block;

*** ../vim-8.2.3272/src/version.c 2021-08-01 21:30:08.893199555 +0200
--- src/version.c 2021-08-01 22:00:15.133170572 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3273,
/**/

--
Even got a Datapoint 3600(?) with a DD50 connector instead of the
usual DB25... what a nightmare trying to figure out the pinout
for *that* with no spex...

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages