Syntax: skip over ]

The ported patch for 7.4.825 removed code that is needed to walk over "]" by
accident.

0: 52692d3cd3
1: 1560d07045

Fixes #4207.
This commit is contained in:
Marco Hinz
2016-02-09 15:24:28 +01:00
parent 25a70469f4
commit 8b5cc1230a

View File

@@ -4196,6 +4196,8 @@ static void syn_cmd_keyword(exarg_T *eap, int syncing)
kw, &p[2]);
goto error;
}
kw = p + 1;
break; // skip over the "]"
}
if (has_mbyte) {
int l = (*mb_ptr2len)(p + 1);