Patch 8.2.0685 (after 8.2.0684)
Problem: Build failure.
Solution: Include missing changes.
Files: src/vim9compile.c
*** ../vim-8.2.0684/src/vim9compile.c 2020-05-02 23:12:54.722410350 +0200
--- src/vim9compile.c 2020-05-03 15:15:09.572779336 +0200
***************
*** 3905,3910 ****
--- 3905,3913 ----
{
char_u *p;
+ // TODO: Try parsing as a constant. If that works just one PUSH
+ // instruction needs to be generated.
+
// evaluate the first expression
if (compile_expr2(arg, cctx) == FAIL)
return FAIL;
***************
*** 6634,6656 ****
delete_instr(dfunc->df_instr + idx);
VIM_CLEAR(dfunc->df_instr);
}
- if (dfunc->df_funcstack != NULL)
- {
- // Decrease the reference count for the context of a closure. If down
- // to zero free it and clear the variables on the stack.
- if (--dfunc->df_funcstack->fs_refcount == 0)
- {
- garray_T *gap = &dfunc->df_funcstack->fs_ga;
- typval_T *stack = gap->ga_data;
- int i;
-
- for (i = 0; i < gap->ga_len; ++i)
- clear_tv(stack + i);
- ga_clear(gap);
- vim_free(dfunc->df_funcstack);
- }
- dfunc->df_funcstack = NULL;
- }
dfunc->df_deleted = TRUE;
}
--- 6637,6642 ----
*** ../vim-8.2.0684/src/version.c 2020-05-03 15:38:12.987700652 +0200
--- src/version.c 2020-05-03 15:47:20.645730613 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 685,
/**/
--
Latest survey shows that 3 out of 4 people make up 75% of the
world's population.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202005031353.043DrwKl015008%40masaka.moolenaar.net.