Permalink
Browse files

patch 8.0.0081

Problem:    Inconsistent function names.
Solution:   Rename do_cscope to ex_cscope.  Clean up comments.
  • Loading branch information...
1 parent b6be3ea commit d4db7719bdfbc54df396eac08d8cbb2389feacf4 @brammool brammool committed Nov 12, 2016
Showing with 46 additions and 107 deletions.
  1. +4 −4 src/ex_cmds.h
  2. +4 −4 src/ex_docmd.c
  3. +33 −96 src/if_cscope.c
  4. +3 −3 src/proto/if_cscope.pro
  5. +2 −0 src/version.c
View
@@ -391,10 +391,10 @@ EX(CMD_cquit, "cquit", ex_cquit,
EX(CMD_crewind, "crewind", ex_cc,
RANGE|NOTADR|COUNT|TRLBAR|BANG,
ADDR_LINES),
-EX(CMD_cscope, "cscope", do_cscope,
+EX(CMD_cscope, "cscope", ex_cscope,
EXTRA|NOTRLCOM|XFILE,
ADDR_LINES),
-EX(CMD_cstag, "cstag", do_cstag,
+EX(CMD_cstag, "cstag", ex_cstag,
BANG|TRLBAR|WORD1,
ADDR_LINES),
EX(CMD_cunmap, "cunmap", ex_unmap,
@@ -745,7 +745,7 @@ EX(CMD_lchdir, "lchdir", ex_cd,
EX(CMD_lclose, "lclose", ex_cclose,
RANGE|NOTADR|COUNT|TRLBAR,
ADDR_LINES),
-EX(CMD_lcscope, "lcscope", do_cscope,
+EX(CMD_lcscope, "lcscope", ex_cscope,
EXTRA|NOTRLCOM|XFILE,
ADDR_LINES),
EX(CMD_ldo, "ldo", ex_listdo,
@@ -1249,7 +1249,7 @@ EX(CMD_scriptnames, "scriptnames", ex_scriptnames,
EX(CMD_scriptencoding, "scriptencoding", ex_scriptencoding,
WORD1|TRLBAR|CMDWIN,
ADDR_LINES),
-EX(CMD_scscope, "scscope", do_scscope,
+EX(CMD_scscope, "scscope", ex_scscope,
EXTRA|NOTRLCOM,
ADDR_LINES),
EX(CMD_set, "set", ex_set,
View
@@ -243,9 +243,9 @@ static void ex_popup(exarg_T *eap);
# define ex_helpfind ex_ni
#endif
#ifndef FEAT_CSCOPE
-# define do_cscope ex_ni
-# define do_scscope ex_ni
-# define do_cstag ex_ni
+# define ex_cscope ex_ni
+# define ex_scscope ex_ni
+# define ex_cstag ex_ni
#endif
#ifndef FEAT_SYN_HL
# define ex_syntax ex_ni
@@ -10427,7 +10427,7 @@ ex_tag_cmd(exarg_T *eap, char_u *name)
#ifdef FEAT_CSCOPE
if (p_cst && *eap->arg != NUL)
{
- do_cstag(eap);
+ ex_cstag(eap);
return;
}
#endif
Oops, something went wrong.

0 comments on commit d4db771

Please sign in to comment.