1
0
forked from aniani/vim

patch 7.4.739

Problem:    In a string "\U" only takes 4 digits, while after CTRL-V U eight
            digits can be used.
Solution:   Make "\U" also take eight digits. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar 2015-06-19 12:08:13 +02:00
parent d710e0d247
commit acc39888cd
2 changed files with 5 additions and 1 deletions

View File

@ -5745,8 +5745,10 @@ get_string_tv(arg, rettv, evaluate)
if (c == 'X')
n = 2;
else
else if (*p == 'u')
n = 4;
else
n = 8;
nr = 0;
while (--n >= 0 && vim_isxdigit(p[1]))
{

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
739,
/**/
738,
/**/