]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.109
- updated to 1.15
[packages/vim.git] / 7.0.109
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.109
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.0.109
11 Problem:    Lisp indenting is confused by escaped quotes in strings. (Dorai
12             Sitaram)
13 Solution:   Check for backslash inside strings. (Sergey Khorev)
14 Files:      src/misc1.c
15
16
17 *** ../vim-7.0.108/src/misc1.c  Tue Sep  5 20:56:11 2006
18 --- src/misc1.c Wed Sep 13 20:13:57 2006
19 ***************
20 *** 8074,8082 ****
21                 }
22                 if (*that == '"' && *(that + 1) != NUL)
23                 {
24 !                   that++;
25 !                   while (*that && (*that != '"' || *(that - 1) == '\\'))
26 !                       ++that;
27                 }
28                 if (*that == '(' || *that == '[')
29                     ++parencount;
30 --- 8074,8093 ----
31                 }
32                 if (*that == '"' && *(that + 1) != NUL)
33                 {
34 !                   while (*++that && *that != '"')
35 !                   {
36 !                       /* skipping escaped characters in the string */
37 !                       if (*that == '\\')
38 !                       {
39 !                           if (*++that == NUL)
40 !                               break;
41 !                           if (that[1] == NUL)
42 !                           {
43 !                               ++that;
44 !                               break;
45 !                           }
46 !                       }
47 !                   }
48                 }
49                 if (*that == '(' || *that == '[')
50                     ++parencount;
51 *** ../vim-7.0.108/src/version.c        Thu Sep 14 21:36:35 2006
52 --- src/version.c       Fri Sep 15 20:15:40 2006
53 ***************
54 *** 668,669 ****
55 --- 668,671 ----
56   {   /* Add new patch number below this line */
57 + /**/
58 +     109,
59   /**/
60
61 -- 
62 ARTHUR:  No, hang on!  Just answer the five questions ...
63 GALAHAD: Three questions ...
64 ARTHUR:  Three questions ...  And we shall watch ... and pray.
65                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
66
67  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
68 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
69 \\\        download, build and distribute -- http://www.A-A-P.org        ///
70  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.037398 seconds and 3 git commands to generate.