Patch 8.2.3791

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 12, 2021, 2:12:40 PM12/12/21
to vim...@googlegroups.com

Patch 8.2.3791
Problem: Build error with +cindent but without +smartindent.
Solution: Move declaration of "do_cindent". (John Marriott)
Files: src/change.c


*** ../vim-8.2.3790/src/change.c 2021-12-12 14:16:34.989862195 +0000
--- src/change.c 2021-12-12 19:08:32.710607249 +0000
***************
*** 1388,1393 ****
--- 1388,1396 ----
char_u *p;
int saved_char = NUL; // init for GCC
pos_T *pos;
+ #ifdef FEAT_CINDENT
+ int do_cindent;
+ #endif
#ifdef FEAT_SMARTINDENT
int do_si = (!p_paste && curbuf->b_p_si
# ifdef FEAT_CINDENT
***************
*** 1397,1405 ****
&& *curbuf->b_p_inde == NUL
# endif
);
- #ifdef FEAT_CINDENT
- int do_cindent;
- #endif
int no_si = FALSE; // reset did_si afterwards
int first_char = NUL; // init for GCC
#endif
--- 1400,1405 ----
*** ../vim-8.2.3790/src/version.c 2021-12-12 18:50:16.019937129 +0000
--- src/version.c 2021-12-12 19:10:14.194098944 +0000
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 3791,
/**/

--
Now it is such a bizarrely improbable coincidence that anything as
mind-bogglingly useful as the Babel fish could have evolved purely by chance
that some thinkers have chosen to see it as a final and clinching proof of the
NON-existence of God.
The argument goes something like this: 'I refuse to prove that I exist,' says
God, 'for proof denies faith, and without faith I am nothing.'
'But,' says Man, 'the Babel fish is a dead giveaway, isn't it? It could not
have evolved by chance. It proves you exist, and so therefore, by your own
arguments, you don't. QED.'
'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a
puff of logic.
'Oh, that was easy,' says Man, and for an encore goes on to prove that black
is white and gets himself killed on the next pedestrian crossing.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

/// 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