aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-04-15 19:59:15 +0300
committerZyX <kp-pav@yandex.ru>2018-04-15 20:07:07 +0300
commit092b4d9774c630c4e3805a3d2b6257ed5dbfc7ff (patch)
tree629feca7f81a089f12f4607092ccc68da42fb82d
parent469ba2fb49690a0f094216fac2a832911cd995a0 (diff)
downloadrneovim-092b4d9774c630c4e3805a3d2b6257ed5dbfc7ff.tar.gz
rneovim-092b4d9774c630c4e3805a3d2b6257ed5dbfc7ff.tar.bz2
rneovim-092b4d9774c630c4e3805a3d2b6257ed5dbfc7ff.zip
*: Add some PVS comments
-rw-r--r--config/pathdef.c.in2
-rw-r--r--src/nvim/generators/gen_api_dispatch.lua2
2 files changed, 4 insertions, 0 deletions
diff --git a/config/pathdef.c.in b/config/pathdef.c.in
index 4579fbe455..41950f5ac5 100644
--- a/config/pathdef.c.in
+++ b/config/pathdef.c.in
@@ -1,3 +1,5 @@
+// This is an open source non-commercial project. Dear PVS-Studio, please check
+// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "${PROJECT_SOURCE_DIR}/src/nvim/vim.h"
char *default_vim_dir = "${CMAKE_INSTALL_FULL_DATAROOTDIR}/nvim";
char *default_vimruntime_dir = "";
diff --git a/src/nvim/generators/gen_api_dispatch.lua b/src/nvim/generators/gen_api_dispatch.lua
index b01321e713..2ee1e5d4c5 100644
--- a/src/nvim/generators/gen_api_dispatch.lua
+++ b/src/nvim/generators/gen_api_dispatch.lua
@@ -324,6 +324,8 @@ end
output = io.open(lua_c_bindings_outputf, 'wb')
output:write([[
+// This is an open source non-commercial project. Dear PVS-Studio, please check
+// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>