comparison src/tag.c @ 10654:f0df81ef971a v8.0.0217

patch 8.0.0217: build fails without cscope feature commit https://github.com/vim/vim/commit/e2d74dbe19c0980c72725a7d0c2b668d6f41766e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 22 16:13:35 2017 +0100 patch 8.0.0217: build fails without cscope feature Problem: Build fails without the cscope feature. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Sun, 22 Jan 2017 16:15:04 +0100
parents 5ca7e3ec1263
children ed6f03535745
comparison
equal deleted inserted replaced
10653:e4ae6d9366b8 10654:f0df81ef971a
1752 /* 1752 /*
1753 * Emacs tags line with CTRL-L: New file name on next line. 1753 * Emacs tags line with CTRL-L: New file name on next line.
1754 * The file name is followed by a ','. 1754 * The file name is followed by a ','.
1755 * Remember etag file name in ebuf. 1755 * Remember etag file name in ebuf.
1756 */ 1756 */
1757 if (*lbuf == Ctrl_L && !use_cscope) 1757 if (*lbuf == Ctrl_L
1758 # ifdef FEAT_CSCOPE
1759 && !use_cscope
1760 # endif
1761 )
1758 { 1762 {
1759 is_etag = 1; /* in case at the start */ 1763 is_etag = 1; /* in case at the start */
1760 state = TS_LINEAR; 1764 state = TS_LINEAR;
1761 if (!tag_fgets(ebuf, LSIZE, fp)) 1765 if (!tag_fgets(ebuf, LSIZE, fp))
1762 { 1766 {