diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-01-19 14:59:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-01-19 14:59:58 +0000 |
commit | 91a4e82243198d3c54b51296c532005daf5ccd3b (patch) | |
tree | c25223c268fa6be1229012ac34162233ef84e255 /src/tag.c | |
parent | 4bad6c8d3dfe81d6171f20f1c3f7fc76bc2d89a7 (diff) | |
download | vim-91a4e82243198d3c54b51296c532005daf5ccd3b.zip |
updated for version 7.1-236
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3191,7 +3191,8 @@ jumpto_tag(lbuf, forceit, keep_help) #endif save_lnum = curwin->w_cursor.lnum; curwin->w_cursor.lnum = 0; /* start search before first line */ - if (do_search(NULL, pbuf[0], pbuf + 1, (long)1, search_options)) + if (do_search(NULL, pbuf[0], pbuf + 1, (long)1, + search_options, NULL)) retval = OK; else { @@ -3203,7 +3204,7 @@ jumpto_tag(lbuf, forceit, keep_help) */ p_ic = TRUE; if (!do_search(NULL, pbuf[0], pbuf + 1, (long)1, - search_options)) + search_options, NULL)) { /* * Failed to find pattern, take a guess: "^func (" @@ -3213,13 +3214,14 @@ jumpto_tag(lbuf, forceit, keep_help) cc = *tagp.tagname_end; *tagp.tagname_end = NUL; sprintf((char *)pbuf, "^%s\\s\\*(", tagp.tagname); - if (!do_search(NULL, '/', pbuf, (long)1, search_options)) + if (!do_search(NULL, '/', pbuf, (long)1, + search_options, NULL)) { /* Guess again: "^char * \<func (" */ sprintf((char *)pbuf, "^\\[#a-zA-Z_]\\.\\*\\<%s\\s\\*(", tagp.tagname); if (!do_search(NULL, '/', pbuf, (long)1, - search_options)) + search_options, NULL)) found = 0; } *tagp.tagname_end = cc; |