comparison src/evalvars.c @ 20233:5f9c2c7d3d73 v8.2.0672

patch 8.2.0672: heredoc in scripts does not accept lower case marker Commit: https://github.com/vim/vim/commit/6ab0953fefe31fef91e40752a675ceb60fc2fe03 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 1 14:10:13 2020 +0200 patch 8.2.0672: heredoc in scripts does not accept lower case marker Problem: Heredoc in scripts does not accept lower case marker. Solution: Allow lower case only in non-Vim scripts. (Ken Takata, closes #6019)
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 May 2020 14:15:04 +0200
parents fadb7f84beff
children 2135b4641680
comparison
equal deleted inserted replaced
20232:426745ecefee 20233:5f9c2c7d3d73
593 { 593 {
594 emsg(_(e_trailing)); 594 emsg(_(e_trailing));
595 return NULL; 595 return NULL;
596 } 596 }
597 *p = NUL; 597 *p = NUL;
598 if (vim_islower(*marker)) 598 if (!script_get && vim_islower(*marker))
599 { 599 {
600 emsg(_("E221: Marker cannot start with lower case letter")); 600 emsg(_("E221: Marker cannot start with lower case letter"));
601 return NULL; 601 return NULL;
602 } 602 }
603 } 603 }