diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-22 19:47:53 -0300 |
---|---|---|
committer | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-24 20:37:13 -0300 |
commit | caabcae0b7470731e793c199b905bfa1bb696914 (patch) | |
tree | 2015066852ad22ec24353db40d2dc752ccd59ce3 /src/nvim/tag.c | |
parent | 93bf201119f68b0723ee3f240afa48134cc41399 (diff) | |
download | rneovim-caabcae0b7470731e793c199b905bfa1bb696914.tar.gz rneovim-caabcae0b7470731e793c199b905bfa1bb696914.tar.bz2 rneovim-caabcae0b7470731e793c199b905bfa1bb696914.zip |
Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r-- | src/nvim/tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c index 29d3bf27e1..5966efa05d 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -2652,7 +2652,7 @@ static int find_extra(char_u **pp) /* Repeat for addresses separated with ';' */ for (;; ) { - if (VIM_ISDIGIT(*str)) + if (ascii_isdigit(*str)) str = skipdigits(str); else if (*str == '/' || *str == '?') { str = skip_regexp(str + 1, *str, FALSE, NULL); @@ -2663,7 +2663,7 @@ static int find_extra(char_u **pp) } else str = NULL; if (str == NULL || *str != ';' - || !(VIM_ISDIGIT(str[1]) || str[1] == '/' || str[1] == '?')) + || !(ascii_isdigit(str[1]) || str[1] == '/' || str[1] == '?')) break; ++str; /* skip ';' */ } |