]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-109 v7.0.109
authorBram Moolenaar <Bram@vim.org>
Fri, 15 Sep 2006 18:18:09 +0000 (18:18 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 15 Sep 2006 18:18:09 +0000 (18:18 +0000)
src/misc1.c
src/version.c

index b74ce0de486a516f214e9fc81f04ee0b2375000d..0c2b797cf7d8e2110e258289d922034f4b55e6b5 100644 (file)
@@ -8074,9 +8074,20 @@ get_lisp_indent()
                }
                if (*that == '"' && *(that + 1) != NUL)
                {
-                   that++;
-                   while (*that && (*that != '"' || *(that - 1) == '\\'))
-                       ++that;
+                   while (*++that && *that != '"')
+                   {
+                       /* skipping escaped characters in the string */
+                       if (*that == '\\')
+                       {
+                           if (*++that == NUL)
+                               break;
+                           if (that[1] == NUL)
+                           {
+                               ++that;
+                               break;
+                           }
+                       }
+                   }
                }
                if (*that == '(' || *that == '[')
                    ++parencount;
index 67a065046813e0a56e0f0fb90eaed71e52e8bff6..3a4c118b8433742dbdbeb04b2cda152289241703 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    109,
 /**/
     108,
 /**/