0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.0026: still some /* */ comments

Problem:    Still some /* */ comments.
Solution:   Convert to // comments.
This commit is contained in:
Bram Moolenaar
2019-12-21 18:25:54 +01:00
parent fe72d08400
commit 85a2002adb
6 changed files with 1086 additions and 1088 deletions

View File

@@ -14,12 +14,12 @@
#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 some of the tested functions are
* static. */
// This file has to be included because some of the tested functions are
// static.
#include "message.c"
/*
@@ -31,7 +31,7 @@ test_trunc_string(void)
char_u *buf; /*allocated every time to find uninit errors */
char_u *s;
/* in place */
// in place
buf = alloc(40);
STRCPY(buf, "text");
trunc_string(buf, buf, 20, 40);
@@ -56,7 +56,7 @@ test_trunc_string(void)
assert(STRCMP(buf, "a text t...nott fits") == 0);
vim_free(buf);
/* copy from string to buf */
// copy from string to buf
buf = alloc(40);
s = vim_strsave((char_u *)"text");
trunc_string(s, buf, 20, 40);