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
This commit is contained in:
oni-link
2014-04-12 22:01:37 +02:00
committed by Thiago de Arruda
parent 2e393110ad
commit a1dd6a6dd8
5 changed files with 30 additions and 4 deletions

View File

@@ -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) {