Mercurial > vim
diff src/kword_test.c @ 18800:f41b55f9357c v8.1.2388
patch 8.1.2388: using old C style comments
Commit: https://github.com/vim/vim/commit/4ba37b5833de99db9e9afe8928b31c864182405c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 4 21:57:43 2019 +0100
patch 8.1.2388: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Dec 2019 22:00:04 +0100 |
parents | 536dd2bc5ac9 |
children | 847cc7932c42 |
line wrap: on
line diff
--- a/src/kword_test.c +++ b/src/kword_test.c @@ -14,11 +14,11 @@ #undef NDEBUG #include <assert.h> -/* Must include main.c because it contains much more than just main() */ +// Must include main.c because it contains much more than just main() #define NO_VIM_MAIN #include "main.c" -/* This file has to be included because the tested functions are static */ +// This file has to be included because the tested functions are static #include "charset.c" /* @@ -38,7 +38,7 @@ test_isword_funcs_utf8(void) buf.b_p_isk = (char_u *)"@,48-57,_,128-167,224-235"; curbuf = &buf; - mb_init(); /* calls init_chartab() */ + mb_init(); // calls init_chartab() for (c = 0; c < 0x10000; ++c) {