]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.178
- updated to 0.7.5
[packages/vim.git] / 7.1.178
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.178
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.178
11 Problem:    "%" doesn't work on "/* comment *//* comment */".
12 Solution:   Don't handle the "//" in "*//*" as a C++ comment. (Markus
13             Heidelberg)
14 Files:      src/search.c
15
16
17 *** ../vim-7.1.177/src/search.c Wed Aug  8 22:48:16 2007
18 --- src/search.c        Mon Dec 10 21:21:17 2007
19 ***************
20 *** 2319,2325 ****
21   #endif
22       while ((p = vim_strchr(p, '/')) != NULL)
23       {
24 !       if (p[1] == '/')
25             break;
26         ++p;
27       }
28 --- 2319,2327 ----
29   #endif
30       while ((p = vim_strchr(p, '/')) != NULL)
31       {
32 !       /* accept a double /, unless it's preceded with * and followed by *,
33 !        * because * / / * is an end and start of a C comment */
34 !       if (p[1] == '/' && (p == line || p[-1] != '*' || p[2] != '*'))
35             break;
36         ++p;
37       }
38 *** ../vim-7.1.177/src/version.c        Tue Jan  1 14:16:42 2008
39 --- src/version.c       Tue Jan  1 15:41:33 2008
40 ***************
41 *** 668,669 ****
42 --- 668,671 ----
43   {   /* Add new patch number below this line */
44 + /**/
45 +     178,
46   /**/
47
48 -- 
49 I'd like to meet the man who invented sex and see what he's working on now.
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\        download, build and distribute -- http://www.A-A-P.org        ///
54  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.029408 seconds and 3 git commands to generate.