From caabcae0b7470731e793c199b905bfa1bb696914 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 22 Apr 2015 19:47:53 -0300 Subject: Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h --- src/nvim/syntax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/syntax.c') diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 4a0c1dfe79..7e6e247bba 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -4968,7 +4968,7 @@ static void syn_cmd_sync(exarg_T *eap, int syncing) arg_end = key + 11; else arg_end = key + 9; - if (arg_end[-1] != '=' || !VIM_ISDIGIT(*arg_end)) { + if (arg_end[-1] != '=' || !ascii_isdigit(*arg_end)) { illegal = TRUE; break; } @@ -6251,7 +6251,7 @@ do_highlight ( HL_TABLE()[idx].sg_cterm_bold = FALSE; } - if (VIM_ISDIGIT(*arg)) + if (ascii_isdigit(*arg)) color = atoi((char *)arg); else if (STRICMP(arg, "fg") == 0) { if (cterm_normal_fg_color) -- cgit