comparison src/ops.c @ 17178:40c4cb095d53 v8.1.1588

patch 8.1.1588: in :let-heredoc line continuation is recognized commit https://github.com/vim/vim/commit/e96a2498f9a2d3e93ac07431f6d4afd77f30afdf Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 25 04:12:16 2019 +0200 patch 8.1.1588: in :let-heredoc line continuation is recognized Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/4580)
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Jun 2019 04:15:08 +0200
parents 3147c7c2e86b
children d4b2a212fa2f
comparison
equal deleted inserted replaced
17177:b58feb1a84f0 17178:40c4cb095d53
786 int 786 int
787 get_expr_register(void) 787 get_expr_register(void)
788 { 788 {
789 char_u *new_line; 789 char_u *new_line;
790 790
791 new_line = getcmdline('=', 0L, 0); 791 new_line = getcmdline('=', 0L, 0, TRUE);
792 if (new_line == NULL) 792 if (new_line == NULL)
793 return NUL; 793 return NUL;
794 if (*new_line == NUL) /* use previous line */ 794 if (*new_line == NUL) /* use previous line */
795 vim_free(new_line); 795 vim_free(new_line);
796 else 796 else