From: Bram Moolenaar Date: Fri, 15 Sep 2006 18:18:09 +0000 (+0000) Subject: updated for version 7.0-109 X-Git-Tag: v7.0.109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15ff6c19406f0248146a16490b28f029c463c460;p=vim updated for version 7.0-109 --- diff --git a/src/misc1.c b/src/misc1.c index b74ce0de4..0c2b797cf 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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; diff --git a/src/version.c b/src/version.c index 67a065046..3a4c118b8 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 109, /**/ 108, /**/