Karsten Hopp 062fcf
To: vim_dev@googlegroups.com
Karsten Hopp 062fcf
Subject: Patch 7.3.1030
Karsten Hopp 062fcf
Fcc: outbox
Karsten Hopp 062fcf
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 062fcf
Mime-Version: 1.0
Karsten Hopp 062fcf
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 062fcf
Content-Transfer-Encoding: 8bit
Karsten Hopp 062fcf
------------
Karsten Hopp 062fcf
Karsten Hopp 062fcf
Patch 7.3.1030 (after 7.3.1028)
Karsten Hopp 062fcf
Problem:    Can't build for debugging.
Karsten Hopp 062fcf
Solution:   Fix struct member names.
Karsten Hopp 062fcf
Files:	    src/regexp_nfa.c
Karsten Hopp 062fcf
Karsten Hopp 062fcf
Karsten Hopp 062fcf
*** ../vim-7.3.1029/src/regexp_nfa.c	2013-05-26 22:56:16.000000000 +0200
Karsten Hopp 062fcf
--- src/regexp_nfa.c	2013-05-26 23:12:12.000000000 +0200
Karsten Hopp 062fcf
***************
Karsten Hopp 062fcf
*** 3164,3182 ****
Karsten Hopp 062fcf
  			submatch->linelist[j].end = t->sub.linelist[j].end;
Karsten Hopp 062fcf
  		    }
Karsten Hopp 062fcf
  #ifdef ENABLE_LOG
Karsten Hopp 062fcf
! 		for (j = 0; j < 4; j++)
Karsten Hopp 062fcf
  		    if (REG_MULTI)
Karsten Hopp 062fcf
  			fprintf(log_fd, "\n *** group %d, start: c=%d, l=%d, end: c=%d, l=%d",
Karsten Hopp 062fcf
  				j,
Karsten Hopp 062fcf
! 				t->sub.startpos[j].col,
Karsten Hopp 062fcf
! 				(int)t->sub.startpos[j].lnum,
Karsten Hopp 062fcf
! 				t->sub.endpos[j].col,
Karsten Hopp 062fcf
! 				(int)t->sub.endpos[j].lnum);
Karsten Hopp 062fcf
  		    else
Karsten Hopp 062fcf
  			fprintf(log_fd, "\n *** group %d, start: \"%s\", end: \"%s\"",
Karsten Hopp 062fcf
  				j,
Karsten Hopp 062fcf
! 				(char *)t->sub.start[j],
Karsten Hopp 062fcf
! 				(char *)t->sub.end[j]);
Karsten Hopp 062fcf
  		fprintf(log_fd, "\n");
Karsten Hopp 062fcf
  #endif
Karsten Hopp 062fcf
  		/* Found the left-most longest match, do not look at any other
Karsten Hopp 062fcf
--- 3164,3182 ----
Karsten Hopp 062fcf
  			submatch->linelist[j].end = t->sub.linelist[j].end;
Karsten Hopp 062fcf
  		    }
Karsten Hopp 062fcf
  #ifdef ENABLE_LOG
Karsten Hopp 062fcf
! 		for (j = 0; j < t->sub.in_use; j++)
Karsten Hopp 062fcf
  		    if (REG_MULTI)
Karsten Hopp 062fcf
  			fprintf(log_fd, "\n *** group %d, start: c=%d, l=%d, end: c=%d, l=%d",
Karsten Hopp 062fcf
  				j,
Karsten Hopp 062fcf
! 				t->sub.multilist[j].start.col,
Karsten Hopp 062fcf
! 				(int)t->sub.multilist[j].start.lnum,
Karsten Hopp 062fcf
! 				t->sub.multilist[j].end.col,
Karsten Hopp 062fcf
! 				(int)t->sub.multilist[j].end.lnum);
Karsten Hopp 062fcf
  		    else
Karsten Hopp 062fcf
  			fprintf(log_fd, "\n *** group %d, start: \"%s\", end: \"%s\"",
Karsten Hopp 062fcf
  				j,
Karsten Hopp 062fcf
! 				(char *)t->sub.linelist[j].start,
Karsten Hopp 062fcf
! 				(char *)t->sub.linelist[j].end);
Karsten Hopp 062fcf
  		fprintf(log_fd, "\n");
Karsten Hopp 062fcf
  #endif
Karsten Hopp 062fcf
  		/* Found the left-most longest match, do not look at any other
Karsten Hopp 062fcf
*** ../vim-7.3.1029/src/version.c	2013-05-26 22:56:16.000000000 +0200
Karsten Hopp 062fcf
--- src/version.c	2013-05-26 23:11:27.000000000 +0200
Karsten Hopp 062fcf
***************
Karsten Hopp 062fcf
*** 730,731 ****
Karsten Hopp 062fcf
--- 730,733 ----
Karsten Hopp 062fcf
  {   /* Add new patch number below this line */
Karsten Hopp 062fcf
+ /**/
Karsten Hopp 062fcf
+     1030,
Karsten Hopp 062fcf
  /**/
Karsten Hopp 062fcf
Karsten Hopp 062fcf
-- 
Karsten Hopp 062fcf
I think that you'll agree that engineers are very effective in their social
Karsten Hopp 062fcf
interactions.  It's the "normal" people who are nuts.
Karsten Hopp 062fcf
				(Scott Adams - The Dilbert principle)
Karsten Hopp 062fcf
Karsten Hopp 062fcf
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 062fcf
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 062fcf
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 062fcf
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///