To: vim_dev@googlegroups.com Subject: Patch 8.2.0685 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///