mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
replace fallthrough comment with macro
Follow-up of vim-patch:8.0.1215
This commit is contained in:
@@ -4356,7 +4356,7 @@ eval_index(
|
||||
if (evaluate) {
|
||||
return FAIL;
|
||||
}
|
||||
// fallthrough
|
||||
FALLTHROUGH;
|
||||
}
|
||||
case VAR_STRING:
|
||||
case VAR_NUMBER:
|
||||
@@ -4755,7 +4755,7 @@ static int get_string_tv(char_u **arg, typval_T *rettv, int evaluate)
|
||||
name += extra;
|
||||
break;
|
||||
}
|
||||
// FALLTHROUGH
|
||||
FALLTHROUGH;
|
||||
|
||||
default: MB_COPY_CHAR(p, name);
|
||||
break;
|
||||
@@ -9749,14 +9749,14 @@ static void f_getcwd(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
if (from) {
|
||||
break;
|
||||
}
|
||||
// fallthrough
|
||||
FALLTHROUGH;
|
||||
case kCdScopeTab:
|
||||
assert(tp);
|
||||
from = tp->tp_localdir;
|
||||
if (from) {
|
||||
break;
|
||||
}
|
||||
// fallthrough
|
||||
FALLTHROUGH;
|
||||
case kCdScopeGlobal:
|
||||
if (globaldir) { // `globaldir` is not always set.
|
||||
from = globaldir;
|
||||
|
Reference in New Issue
Block a user