Is it incorrect behavior that :tag doesn't jump forward in the tag
stack when cst is set? (What currently happens is vim produces an
error message saying useage is cstag <ident> )
If this is incorrect, the following patch will make :tag behave the
same with or without cst set.
diff -ru vim71/src/ex_docmd.c vim71-patched/src/ex_docmd.c
--- vim71/src/ex_docmd.c 2007-05-07 15:49:38.000000000 -0400
+++ vim71-patched/src/ex_docmd.c 2008-05-30 10:30:19.000000000 -0400
@@ -9245,11 +9245,15 @@
break;
default: /* ":tag" */
#ifdef FEAT_CSCOPE
+ if (eap->arg != NULL && strlen((const char *)(eap->arg)) != 0)
+ {
+
if (p_cst)
{
do_cstag(eap);
return;
}
+ }
#endif
cmd = DT_TAG;
break;
--
Our problems are mostly behind us, now all we have to do is fight the solutions.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---