Originally from UliM <[email protected]>
---
 src/if_cscope.c | 4 ++++
 src/if_cscope.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/if_cscope.c b/src/if_cscope.c
index 929448b..45c88aa 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -792,6 +792,9 @@ cs_create_cmd(csoption, pattern)
     case '8' : case 'i' :
        search = 8;
        break;
+    case '9' : case 'a' :
+        search = 9;
+        break;
     default :
        (void)EMSG(_("E561: unknown cscope search type"));
        cs_usage_msg(Find);
@@ -1338,6 +1341,7 @@ cs_help(eap)
                                      cmdp->usage);
        if (strcmp(cmdp->name, "find") == 0)
            MSG_PUTS(_("\n"
+                      "       a: Find assignments to this symbol\n"
                       "       c: Find functions calling this function\n"
                       "       d: Find functions called by this function\n"
                       "       e: Find this egrep pattern\n"
diff --git a/src/if_cscope.h b/src/if_cscope.h
index 5620eb3..079cc49 100644
--- a/src/if_cscope.h
+++ b/src/if_cscope.h
@@ -35,11 +35,11 @@
  * d 2name     Find functions called by this function
  * c 3name     Find functions calling this function
  * t 4string   find text string (cscope 12.9)
- * t 4name     Find assignments to (cscope 13.3)
  *   5pattern  change pattern -- NOT USED
  * e 6pattern  Find this egrep pattern
  * f 7name     Find this file
  * i 8name     Find files #including this file
+ * a 9name     Find assignments to (cscope 15.8)
  */
 
 typedef struct {
-- 
1.7.11.4

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui