summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0740
blob: 48ed6a19f490e61639cc2093d909740a7016dcdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0740
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0740
Problem:    Tcl test fails.
Solution:   When the argument is empty don't give an error, instead rely on
            the error reporting higher up.
Files:	    src/eval.c


*** ../vim-8.1.0739/src/eval.c	2019-01-13 16:07:17.522749372 +0100
--- src/eval.c	2019-01-13 16:41:19.517340430 +0100
***************
*** 6462,6468 ****
      }
  
      len += get_id_len(arg);
!     if (len == 0 && verbose)
  	EMSG2(_(e_invexpr2), *arg);
  
      return len;
--- 6462,6470 ----
      }
  
      len += get_id_len(arg);
!     // Only give an error when there is something, otherwise it will be
!     // reported at a higher level.
!     if (len == 0 && verbose && **arg != NUL)
  	EMSG2(_(e_invexpr2), *arg);
  
      return len;
*** ../vim-8.1.0739/src/version.c	2019-01-13 16:12:37.600472512 +0100
--- src/version.c	2019-01-13 16:42:46.964747959 +0100
***************
*** 797,798 ****
--- 797,800 ----
  {   /* Add new patch number below this line */
+ /**/
+     740,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
188. You purchase a laptop so you can surf while sitting on the can.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///