diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-10-06 11:42:33 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-10-06 11:50:10 +0200 |
commit | 41d3b98debb3c90306f301dad185a6b487fa4002 (patch) | |
tree | afee36a9e2b52df35ae53ba37633731e88573245 /src/nvim/regexp.c | |
parent | e8f87f15d735937f4b548ad40fb8dbaf741f6d0a (diff) | |
download | rneovim-41d3b98debb3c90306f301dad185a6b487fa4002.tar.gz rneovim-41d3b98debb3c90306f301dad185a6b487fa4002.tar.bz2 rneovim-41d3b98debb3c90306f301dad185a6b487fa4002.zip |
vim-patch:8.1.2394: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
https://github.com/vim/vim/commit/63d9e730f726341bf41ee4f4b829253cb9879110
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index 98a46cf781..eca6739f5c 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -3003,8 +3003,8 @@ static void ungetchr(void) at_start = prev_at_start; prev_at_start = false; - /* Backup regparse, so that it's at the same position as before the - * getchr(). */ + // Backup regparse, so that it's at the same position as before the + // getchr(). regparse -= prevchr_len; } @@ -6412,8 +6412,8 @@ static int cstrncmp(char_u *s1, char_u *s2, int *n) int c1, c2, c11, c12; int junk; - /* we have to handle the strcmp ourselves, since it is necessary to - * deal with the composing characters by ignoring them: */ + // we have to handle the strcmp ourselves, since it is necessary to + // deal with the composing characters by ignoring them: str1 = s1; str2 = s2; c1 = c2 = 0; @@ -7184,8 +7184,8 @@ static regengine_T nfa_regengine = (char_u *)"" }; -/* Which regexp engine to use? Needed for vim_regcomp(). - * Must match with 'regexpengine'. */ +// Which regexp engine to use? Needed for vim_regcomp(). +// Must match with 'regexpengine'. static int regexp_engine = 0; #ifdef REGEXP_DEBUG |