On 2012-07-18, simha wrote:
> Hi,
> When I run ":cs f s <Func_1> in a vim session, cscope displays
> occurences of <Func_1> but does not print out source files and
> line no. of occurrence.
It does for me. Using Vim 5.3.584 in the src directory of my Vim
repo where I previously built a cscope database,
$ cd /usr/local/src/vim/vim/src
$ vim -N -u NONE
:cs add cscope.out
:cs f a main
Cscope tag: main
# line filename / context / line
1 54 if_python.c <<GLOBAL>>
#undef main
2 66 if_python3.c <<GLOBAL>>
#undef main
3 162 main.c <<GLOBAL>>
main
4 28 os_w32exe.c <<GLOBAL>>
main
5 2487 dosinst.c <<main>>
main(int argc, char **argv)
6 141 memfile_test.c <<main>>
main()
7 6 os_vms_mms.c <<main>>
int main(int argc, char *argv[])
8 112 os_w32exe.c <<WinMain>>
main
9 10 po/sjiscorr.c <<main>>
main(argc, argv)
10 72 tee/tee.c <<main>>
main(int argc, char *argv[])
11 330 uninstal.c <<main>>
main(int argc, char *argv[])
12 52 vimrun.c <<main>>
main(void )
13 468 xxd/xxd.c <<main>>
main(argc, argv)
Type number and <Enter> (empty cancels):
Regards,
Gary
--
You received this message from the "vim_use" 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
No comments:
Post a Comment