]> granicus.if.org Git - vim/commitdiff
patch 7.4.739 v7.4.739
authorBram Moolenaar <Bram@vim.org>
Fri, 19 Jun 2015 10:08:13 +0000 (12:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 19 Jun 2015 10:08:13 +0000 (12:08 +0200)
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)

src/eval.c
src/version.c

index a173cc73a7a154116b0531bec3d144404e80ab9a..6f8aa3c8e04ad7dc7b89a5d381de027439944875 100644 (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]))
                              {
index 23a1b1367d4520a2c6a31ad68aaa609fca4d126c..03352a7aad5d92ded6303460fc7c641bb60a1dd2 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    739,
 /**/
     738,
 /**/