Patch 8.2.2683

4 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 1, 2021, 7:18:28 AM4/1/21
to vim...@googlegroups.com

Patch 8.2.2683
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
Files: src/vim9script.c


*** ../vim-8.2.2682/src/vim9script.c 2021-04-01 12:57:53.539273235 +0200
--- src/vim9script.c 2021-04-01 13:17:00.824330078 +0200
***************
*** 31,36 ****
--- 31,37 ----
|| (cmdmod.cmod_flags & CMOD_VIM9CMD);
}

+ #if defined(FEAT_EVAL) || defined(PROTO)
/*
* Return TRUE if the current script is Vim9 script.
* This also returns TRUE in a legacy function in a Vim9 script.
***************
*** 42,47 ****
--- 43,49 ----
&& SCRIPT_ITEM(current_sctx.sc_sid)->sn_version
== SCRIPT_VERSION_VIM9;
}
+ #endif

/*
* ":vim9script".
*** ../vim-8.2.2682/src/version.c 2021-04-01 12:57:53.539273235 +0200
--- src/version.c 2021-04-01 13:17:33.024248382 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2683,
/**/

--
You have the right to remain silent. Anything you say will be
misquoted, then used against you.

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