This commit is contained in:
Justin M. Keyes
2019-09-13 18:51:13 -07:00
parent 3344cffe7b
commit 6aae0e7c94
11 changed files with 100 additions and 82 deletions

View File

@@ -5048,10 +5048,10 @@ static char_u *get_syn_pattern(char_u *arg, synpat_T *ci)
} else { /* yy=x+99 */
end += 4;
if (*end == '+') {
++end;
end++;
*p = getdigits_int(&end, true, 0); // positive offset
} else if (*end == '-') {
++end;
end++;
*p = -getdigits_int(&end, true, 0); // negative offset
}
}