Mercurial > vim
comparison src/tag.c @ 11129:f4ea50924c6d v8.0.0452
patch 8.0.0452: some macros are in lower case
commit https://github.com/vim/vim/commit/1c46544412382db8b3203d6c78e550df885540bd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 20:10:05 2017 +0100
patch 8.0.0452: some macros are in lower case
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 20:15:06 +0100 |
parents | 506f5d8b7d8b |
children | 501f46f7644c |
comparison
equal
deleted
inserted
replaced
11128:23154628ab7f | 11129:f4ea50924c6d |
---|---|
2003 #else | 2003 #else |
2004 tagp.fname = tagp.tagname_end + 1; | 2004 tagp.fname = tagp.tagname_end + 1; |
2005 #endif | 2005 #endif |
2006 if ( fnamencmp(lbuf, tagp.fname, p - lbuf) == 0 | 2006 if ( fnamencmp(lbuf, tagp.fname, p - lbuf) == 0 |
2007 #ifdef FEAT_TAG_ANYWHITE | 2007 #ifdef FEAT_TAG_ANYWHITE |
2008 && vim_iswhite(tagp.fname[p - lbuf]) | 2008 && VIM_ISWHITE(tagp.fname[p - lbuf]) |
2009 #else | 2009 #else |
2010 && tagp.fname[p - lbuf] == TAB | 2010 && tagp.fname[p - lbuf] == TAB |
2011 #endif | 2011 #endif |
2012 ) | 2012 ) |
2013 { | 2013 { |
3930 /* skip "kind:<kind>" and "<kind>" */ | 3930 /* skip "kind:<kind>" and "<kind>" */ |
3931 p = tp.tagkind_end - 1; | 3931 p = tp.tagkind_end - 1; |
3932 else if (STRNCMP(p, "file:", 5) == 0) | 3932 else if (STRNCMP(p, "file:", 5) == 0) |
3933 /* skip "file:" (static tag) */ | 3933 /* skip "file:" (static tag) */ |
3934 p += 4; | 3934 p += 4; |
3935 else if (!vim_iswhite(*p)) | 3935 else if (!VIM_ISWHITE(*p)) |
3936 { | 3936 { |
3937 char_u *s, *n; | 3937 char_u *s, *n; |
3938 int len; | 3938 int len; |
3939 | 3939 |
3940 /* Add extra field as a dict entry. Fields are | 3940 /* Add extra field as a dict entry. Fields are |