mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h
This commit is contained in:
@@ -465,7 +465,7 @@ dbg_parsearg (
|
||||
bp->dbg_lnum = curwin->w_cursor.lnum;
|
||||
else if (
|
||||
gap != &prof_ga &&
|
||||
VIM_ISDIGIT(*p)) {
|
||||
ascii_isdigit(*p)) {
|
||||
bp->dbg_lnum = getdigits_long(&p);
|
||||
p = skipwhite(p);
|
||||
} else
|
||||
@@ -570,7 +570,7 @@ void ex_breakdel(exarg_T *eap)
|
||||
gap = &prof_ga;
|
||||
}
|
||||
|
||||
if (vim_isdigit(*eap->arg)) {
|
||||
if (ascii_isdigit(*eap->arg)) {
|
||||
/* ":breakdel {nr}" */
|
||||
nr = atol((char *)eap->arg);
|
||||
for (int i = 0; i < gap->ga_len; ++i)
|
||||
@@ -3023,7 +3023,7 @@ static char_u *get_mess_env(void)
|
||||
p = (char_u *)os_getenv("LC_MESSAGES");
|
||||
if (p == NULL || *p == NUL) {
|
||||
p = (char_u *)os_getenv("LANG");
|
||||
if (p != NULL && VIM_ISDIGIT(*p))
|
||||
if (p != NULL && ascii_isdigit(*p))
|
||||
p = NULL; /* ignore something like "1043" */
|
||||
# ifdef HAVE_GET_LOCALE_VAL
|
||||
if (p == NULL || *p == NUL)
|
||||
|
Reference in New Issue
Block a user