diff options
author | vimboss <devnull@localhost> | 2006-09-15 18:18:09 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2006-09-15 18:18:09 +0000 |
commit | d25eee85c335a9187506ff976fa2012162648332 (patch) | |
tree | 6909600c85482f291c12746b180c288a34eae885 | |
parent | 830ed23ed301f9290f7a76c8d2c797a3a9cdcde2 (diff) | |
download | vim-d25eee85c335a9187506ff976fa2012162648332.tar.gz |
-rw-r--r-- | src/misc1.c | 17 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 16 insertions, 3 deletions
diff --git a/src/misc1.c b/src/misc1.c index b74ce0de..0c2b797c 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 67a06504..3a4c118b 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 109, +/**/ 108, /**/ 107, |