summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-08-25 17:01:42 +0200
committerBram Moolenaar <Bram@vim.org>2013-08-25 17:01:42 +0200
commit41f1205fef7eb24656abb3eeb1dea9ff5cdf1b62 (patch)
treed390ecf9e774a729699c5aa652d204136292589e /src/regexp.c
parent74cd624fdeef12526e1f69b9ddaee037fcef8f3f (diff)
downloadvim-git-41f1205fef7eb24656abb3eeb1dea9ff5cdf1b62.tar.gz
updated for version 7.4.008v7.4.008
Problem: New regexp engine can't be interrupted. Solution: Check for CTRL-C pressed. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 06bbb4a54..df884e25b 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -4311,8 +4311,8 @@ regmatch(scan)
*/
for (;;)
{
- /* Some patterns may cause a long time to match, even though they are not
- * illegal. E.g., "\([a-z]\+\)\+Q". Allow breaking them with CTRL-C. */
+ /* Some patterns may take a long time to match, e.g., "\([a-z]\+\)\+Q".
+ * Allow interrupting them with CTRL-C. */
fast_breakcheck();
#ifdef DEBUG