changeset 4565:d1f3c77159f9 v7.3.1030

updated for version 7.3.1030 Problem: Can't build for debugging. Solution: Fix struct member names.
author Bram Moolenaar <bram@vim.org>
date Sun, 26 May 2013 23:13:07 +0200
parents ba503e7f5ceb
children 73c04954a835
files src/regexp_nfa.c src/version.c
diffstat 2 files changed, 9 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -3164,19 +3164,19 @@ nfa_regmatch(start, submatch, m)
 			submatch->linelist[j].end = t->sub.linelist[j].end;
 		    }
 #ifdef ENABLE_LOG
-		for (j = 0; j < 4; j++)
+		for (j = 0; j < t->sub.in_use; j++)
 		    if (REG_MULTI)
 			fprintf(log_fd, "\n *** group %d, start: c=%d, l=%d, end: c=%d, l=%d",
 				j,
-				t->sub.startpos[j].col,
-				(int)t->sub.startpos[j].lnum,
-				t->sub.endpos[j].col,
-				(int)t->sub.endpos[j].lnum);
+				t->sub.multilist[j].start.col,
+				(int)t->sub.multilist[j].start.lnum,
+				t->sub.multilist[j].end.col,
+				(int)t->sub.multilist[j].end.lnum);
 		    else
 			fprintf(log_fd, "\n *** group %d, start: \"%s\", end: \"%s\"",
 				j,
-				(char *)t->sub.start[j],
-				(char *)t->sub.end[j]);
+				(char *)t->sub.linelist[j].start,
+				(char *)t->sub.linelist[j].end);
 		fprintf(log_fd, "\n");
 #endif
 		/* Found the left-most longest match, do not look at any other
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1030,
+/**/
     1029,
 /**/
     1028,