Karsten Hopp b2e78d
To: vim-dev@vim.org
Karsten Hopp b2e78d
Subject: Patch 7.1.316
Karsten Hopp b2e78d
Fcc: outbox
Karsten Hopp b2e78d
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b2e78d
Mime-Version: 1.0
Karsten Hopp b2e78d
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp b2e78d
Content-Transfer-Encoding: 8bit
Karsten Hopp b2e78d
------------
Karsten Hopp b2e78d
Karsten Hopp b2e78d
Patch 7.1.316
Karsten Hopp b2e78d
Problem:    When 'cscopetag' is set ":tag" gives an error message instead of
Karsten Hopp b2e78d
	    going to the next tag in the tag stack.
Karsten Hopp b2e78d
Solution:   Don't call do_cstag() when there is no argument. (Mark Goldman)
Karsten Hopp b2e78d
Files:	    src/ex_docmd.c
Karsten Hopp b2e78d
Karsten Hopp b2e78d
Karsten Hopp b2e78d
*** ../vim-7.1.315/src/ex_docmd.c	Sun Mar 16 16:02:47 2008
Karsten Hopp b2e78d
--- src/ex_docmd.c	Fri Jun 20 10:42:30 2008
Karsten Hopp b2e78d
***************
Karsten Hopp b2e78d
*** 9300,9306 ****
Karsten Hopp b2e78d
  		  break;
Karsten Hopp b2e78d
  	default:			/* ":tag" */
Karsten Hopp b2e78d
  #ifdef FEAT_CSCOPE
Karsten Hopp b2e78d
! 		  if (p_cst)
Karsten Hopp b2e78d
  		  {
Karsten Hopp b2e78d
  		      do_cstag(eap);
Karsten Hopp b2e78d
  		      return;
Karsten Hopp b2e78d
--- 9302,9308 ----
Karsten Hopp b2e78d
  		  break;
Karsten Hopp b2e78d
  	default:			/* ":tag" */
Karsten Hopp b2e78d
  #ifdef FEAT_CSCOPE
Karsten Hopp b2e78d
! 		  if (p_cst && *eap->arg != NUL)
Karsten Hopp b2e78d
  		  {
Karsten Hopp b2e78d
  		      do_cstag(eap);
Karsten Hopp b2e78d
  		      return;
Karsten Hopp b2e78d
*** ../vim-7.1.315/src/version.c	Sun Jun 15 14:20:28 2008
Karsten Hopp b2e78d
--- src/version.c	Fri Jun 20 11:09:35 2008
Karsten Hopp b2e78d
***************
Karsten Hopp b2e78d
*** 668,669 ****
Karsten Hopp b2e78d
--- 673,676 ----
Karsten Hopp b2e78d
  {   /* Add new patch number below this line */
Karsten Hopp b2e78d
+ /**/
Karsten Hopp b2e78d
+     316,
Karsten Hopp b2e78d
  /**/
Karsten Hopp b2e78d
Karsten Hopp b2e78d
-- 
Karsten Hopp b2e78d
Microsoft is to software what McDonalds is to gourmet cooking
Karsten Hopp b2e78d
Karsten Hopp b2e78d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b2e78d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b2e78d
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp b2e78d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///