Karsten Hopp 07aa24
To: vim_dev@googlegroups.com
Karsten Hopp 07aa24
Subject: Patch 7.4.739
Karsten Hopp 07aa24
Fcc: outbox
Karsten Hopp 07aa24
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 07aa24
Mime-Version: 1.0
Karsten Hopp 07aa24
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 07aa24
Content-Transfer-Encoding: 8bit
Karsten Hopp 07aa24
------------
Karsten Hopp 07aa24
Karsten Hopp 07aa24
Patch 7.4.739
Karsten Hopp 07aa24
Problem:    In a string "\U" only takes 4 digits, while after CTRL-V U eight
Karsten Hopp 07aa24
            digits can be used.
Karsten Hopp 07aa24
Solution:   Make "\U" also take eight digits. (Christian Brabandt)
Karsten Hopp 07aa24
Files:      src/eval.c
Karsten Hopp 07aa24
Karsten Hopp 07aa24
Karsten Hopp 07aa24
*** ../vim-7.4.738/src/eval.c	2015-06-09 20:30:45.495855617 +0200
Karsten Hopp 07aa24
--- src/eval.c	2015-06-19 11:36:27.818121198 +0200
Karsten Hopp 07aa24
***************
Karsten Hopp 07aa24
*** 5745,5752 ****
Karsten Hopp 07aa24
  
Karsten Hopp 07aa24
  			      if (c == 'X')
Karsten Hopp 07aa24
  				  n = 2;
Karsten Hopp 07aa24
! 			      else
Karsten Hopp 07aa24
  				  n = 4;
Karsten Hopp 07aa24
  			      nr = 0;
Karsten Hopp 07aa24
  			      while (--n >= 0 && vim_isxdigit(p[1]))
Karsten Hopp 07aa24
  			      {
Karsten Hopp 07aa24
--- 5745,5754 ----
Karsten Hopp 07aa24
  
Karsten Hopp 07aa24
  			      if (c == 'X')
Karsten Hopp 07aa24
  				  n = 2;
Karsten Hopp 07aa24
! 			      else if (*p == 'u')
Karsten Hopp 07aa24
  				  n = 4;
Karsten Hopp 07aa24
+ 			      else
Karsten Hopp 07aa24
+ 				  n = 8;
Karsten Hopp 07aa24
  			      nr = 0;
Karsten Hopp 07aa24
  			      while (--n >= 0 && vim_isxdigit(p[1]))
Karsten Hopp 07aa24
  			      {
Karsten Hopp 07aa24
*** ../vim-7.4.738/src/version.c	2015-06-10 12:16:41.926648740 +0200
Karsten Hopp 07aa24
--- src/version.c	2015-06-19 11:38:52.016606219 +0200
Karsten Hopp 07aa24
***************
Karsten Hopp 07aa24
*** 743,744 ****
Karsten Hopp 07aa24
--- 743,746 ----
Karsten Hopp 07aa24
  {   /* Add new patch number below this line */
Karsten Hopp 07aa24
+ /**/
Karsten Hopp 07aa24
+     739,
Karsten Hopp 07aa24
  /**/
Karsten Hopp 07aa24
Karsten Hopp 07aa24
-- 
Karsten Hopp 07aa24
FIXME and XXX are two common keywords used to mark broken or incomplete code
Karsten Hopp 07aa24
not only since XXX as a sex reference would grab everybody's attention but
Karsten Hopp 07aa24
simply due to the fact that Vim would highlight these words.
Karsten Hopp 07aa24
					-- Hendrik Scholz
Karsten Hopp 07aa24
Karsten Hopp 07aa24
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 07aa24
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 07aa24
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 07aa24
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///