mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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:
@@ -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]))
|
||||
{
|
||||
|
Reference in New Issue
Block a user