Karsten Hopp ac8670
To: vim_dev@googlegroups.com
Karsten Hopp ac8670
Subject: Patch 7.3.650
Karsten Hopp ac8670
Fcc: outbox
Karsten Hopp ac8670
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ac8670
Mime-Version: 1.0
Karsten Hopp ac8670
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ac8670
Content-Transfer-Encoding: 8bit
Karsten Hopp ac8670
------------
Karsten Hopp ac8670
Karsten Hopp ac8670
Patch 7.3.650
Karsten Hopp ac8670
Problem:    Completion after ":help \{-" gives an error message and messes up
Karsten Hopp ac8670
	    the command line.
Karsten Hopp ac8670
Solution:   Cancel the tag search if the pattern can't be compiled. (Yasuhiro
Karsten Hopp ac8670
	    Matsumoto)
Karsten Hopp ac8670
Files:	    src/tag.c
Karsten Hopp ac8670
Karsten Hopp ac8670
Karsten Hopp ac8670
*** ../vim-7.3.649/src/tag.c	2012-01-10 22:26:12.000000000 +0100
Karsten Hopp ac8670
--- src/tag.c	2012-09-05 14:56:52.000000000 +0200
Karsten Hopp ac8670
***************
Karsten Hopp ac8670
*** 1443,1448 ****
Karsten Hopp ac8670
--- 1443,1450 ----
Karsten Hopp ac8670
  	orgpat.len = p_tl;
Karsten Hopp ac8670
  
Karsten Hopp ac8670
      prepare_pats(&orgpat, has_re);
Karsten Hopp ac8670
+     if (has_re && orgpat.regmatch.regprog == NULL)
Karsten Hopp ac8670
+ 	goto findtag_end;
Karsten Hopp ac8670
  
Karsten Hopp ac8670
  #ifdef FEAT_TAG_BINS
Karsten Hopp ac8670
      /* This is only to avoid a compiler warning for using search_info
Karsten Hopp ac8670
*** ../vim-7.3.649/src/version.c	2012-09-05 14:18:42.000000000 +0200
Karsten Hopp ac8670
--- src/version.c	2012-09-05 15:01:07.000000000 +0200
Karsten Hopp ac8670
***************
Karsten Hopp ac8670
*** 721,722 ****
Karsten Hopp ac8670
--- 721,724 ----
Karsten Hopp ac8670
  {   /* Add new patch number below this line */
Karsten Hopp ac8670
+ /**/
Karsten Hopp ac8670
+     650,
Karsten Hopp ac8670
  /**/
Karsten Hopp ac8670
Karsten Hopp ac8670
-- 
Karsten Hopp ac8670
GUARD #1:  What, ridden on a horse?
Karsten Hopp ac8670
ARTHUR:    Yes!
Karsten Hopp ac8670
GUARD #1:  You're using coconuts!
Karsten Hopp ac8670
ARTHUR:    What?
Karsten Hopp ac8670
GUARD #1:  You've got two empty halves of coconut and you're bangin' 'em
Karsten Hopp ac8670
           together.
Karsten Hopp ac8670
                                  The Quest for the Holy Grail (Monty Python)
Karsten Hopp ac8670
Karsten Hopp ac8670
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ac8670
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ac8670
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ac8670
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///