diff options
author | oni-link <knil.ino@gmail.com> | 2014-04-12 22:01:37 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-13 07:30:05 -0300 |
commit | a1dd6a6dd85931cd882f28c5ee8bc6eafe0826c8 (patch) | |
tree | d766819b64b98f44aab7648a8f769fe8eb209e4d /src/quickfix.c | |
parent | 2e393110ad9cd058be2ef162ef9f02608dc0279e (diff) | |
download | rneovim-a1dd6a6dd85931cd882f28c5ee8bc6eafe0826c8.tar.gz rneovim-a1dd6a6dd85931cd882f28c5ee8bc6eafe0826c8.tar.bz2 rneovim-a1dd6a6dd85931cd882f28c5ee8bc6eafe0826c8.zip |
vim-patch:7.4.203
Problem: Parsing 'errorformat' is not correct.
Solution: Reset "multiignore" at the start of a multi-line message. (Lcd)
https://code.google.com/p/vim/source/detail?r=fb24b025c7cf07db79a559a3091db42e02c1af86
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index a480fe03ae..3dba30389d 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -713,9 +713,11 @@ restofline: if (fmt_ptr->conthere) fmt_start = fmt_ptr; - if (vim_strchr((char_u *)"AEWI", idx) != NULL) - multiline = TRUE; /* start of a multi-line message */ - else if (vim_strchr((char_u *)"CZ", idx) != NULL) { /* continuation of multi-line msg */ + if (vim_strchr((char_u *)"AEWI", idx) != NULL) { + multiline = TRUE; /* start of a multi-line message */ + multiignore = FALSE; /* reset continuation */ + } else if (vim_strchr((char_u *)"CZ", idx) + != NULL) { /* continuation of multi-line msg */ if (qfprev == NULL) goto error2; if (*errmsg && !multiignore) { |