From: Bram Moolenaar Date: Fri, 19 Jun 2015 10:08:13 +0000 (+0200) Subject: patch 7.4.739 X-Git-Tag: v7.4.739 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acc39888cddbc8082fb3b89c1a46646bdca55e42;p=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) --- diff --git a/src/eval.c b/src/eval.c index a173cc73a..6f8aa3c8e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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])) { diff --git a/src/version.c b/src/version.c index 23a1b1367..03352a7aa 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 739, /**/ 738, /**/