0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

updated for version 7.3.1030

Problem:    Can't build for debugging.
Solution:   Fix struct member names.
This commit is contained in:
Bram Moolenaar
2013-05-26 23:13:07 +02:00
parent 26c2f3fc4e
commit 2cb8feb880
2 changed files with 9 additions and 7 deletions

View File

@@ -3164,19 +3164,19 @@ nfa_regmatch(start, submatch, m)
submatch->linelist[j].end = t->sub.linelist[j].end; submatch->linelist[j].end = t->sub.linelist[j].end;
} }
#ifdef ENABLE_LOG #ifdef ENABLE_LOG
for (j = 0; j < 4; j++) for (j = 0; j < t->sub.in_use; j++)
if (REG_MULTI) if (REG_MULTI)
fprintf(log_fd, "\n *** group %d, start: c=%d, l=%d, end: c=%d, l=%d", fprintf(log_fd, "\n *** group %d, start: c=%d, l=%d, end: c=%d, l=%d",
j, j,
t->sub.startpos[j].col, t->sub.multilist[j].start.col,
(int)t->sub.startpos[j].lnum, (int)t->sub.multilist[j].start.lnum,
t->sub.endpos[j].col, t->sub.multilist[j].end.col,
(int)t->sub.endpos[j].lnum); (int)t->sub.multilist[j].end.lnum);
else else
fprintf(log_fd, "\n *** group %d, start: \"%s\", end: \"%s\"", fprintf(log_fd, "\n *** group %d, start: \"%s\", end: \"%s\"",
j, j,
(char *)t->sub.start[j], (char *)t->sub.linelist[j].start,
(char *)t->sub.end[j]); (char *)t->sub.linelist[j].end);
fprintf(log_fd, "\n"); fprintf(log_fd, "\n");
#endif #endif
/* Found the left-most longest match, do not look at any other /* Found the left-most longest match, do not look at any other

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1030,
/**/ /**/
1029, 1029,
/**/ /**/