lua: Move files from src/nvim/viml/executor to src/nvim/lua

This commit is contained in:
ZyX 2017-04-11 01:09:36 +03:00
parent 1751ec192d
commit f98a3d85ed
9 changed files with 15 additions and 16 deletions

View File

@ -377,7 +377,7 @@ output:write([[
#include "nvim/func_attr.h"
#include "nvim/api/private/defs.h"
#include "nvim/api/private/helpers.h"
#include "nvim/viml/executor/converter.h"
#include "nvim/lua/converter.h"
]])
include_headers(output, headers)
output:write('\n')

View File

@ -33,8 +33,8 @@ set(OPTIONS_GENERATOR ${PROJECT_SOURCE_DIR}/scripts/genoptions.lua)
set(UNICODE_TABLES_GENERATOR ${PROJECT_SOURCE_DIR}/scripts/genunicodetables.lua)
set(UNICODE_DIR ${PROJECT_SOURCE_DIR}/unicode)
set(GENERATED_UNICODE_TABLES ${GENERATED_DIR}/unicode_tables.generated.h)
set(VIM_MODULE_FILE ${GENERATED_DIR}/viml/executor/vim_module.generated.h)
set(VIM_MODULE_SOURCE ${PROJECT_SOURCE_DIR}/src/nvim/viml/executor/vim.lua)
set(VIM_MODULE_FILE ${GENERATED_DIR}/lua/vim_module.generated.h)
set(VIM_MODULE_SOURCE ${PROJECT_SOURCE_DIR}/src/nvim/lua/vim.lua)
set(CHAR_BLOB_GENERATOR ${PROJECT_SOURCE_DIR}/scripts/gencharblob.lua)
set(LINT_SUPPRESS_FILE ${PROJECT_BINARY_DIR}/errors.json)
set(LINT_SUPPRESS_URL_BASE "https://raw.githubusercontent.com/neovim/doc/gh-pages/reports/clint")
@ -72,8 +72,7 @@ foreach(subdir
tui
event
eval
viml
viml/executor
lua
)
if(${subdir} MATCHES "tui" AND NOT FEAT_TUI)
continue()

View File

@ -94,7 +94,7 @@
#include "nvim/lib/kvec.h"
#include "nvim/lib/khash.h"
#include "nvim/lib/queue.h"
#include "nvim/viml/executor/executor.h"
#include "nvim/lua/executor.h"
#include "nvim/eval/typval.h"
#include "nvim/eval/executor.h"
#include "nvim/eval/gc.h"

View File

@ -67,7 +67,7 @@
#include "nvim/event/rstream.h"
#include "nvim/event/wstream.h"
#include "nvim/shada.h"
#include "nvim/viml/executor/executor.h"
#include "nvim/lua/executor.h"
#include "nvim/globals.h"
static int quitmore = 0;

View File

@ -22,8 +22,8 @@
#include "nvim/lib/kvec.h"
#include "nvim/eval/decode.h"
#include "nvim/viml/executor/converter.h"
#include "nvim/viml/executor/executor.h"
#include "nvim/lua/converter.h"
#include "nvim/lua/executor.h"
/// Determine, which keys lua table contains
typedef struct {
@ -38,7 +38,7 @@ typedef struct {
} LuaTableProps;
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "viml/executor/converter.c.generated.h"
# include "lua/converter.c.generated.h"
#endif
#define TYPE_IDX_VALUE true

View File

@ -10,6 +10,6 @@
#include "nvim/eval.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "viml/executor/converter.h.generated.h"
# include "lua/converter.h.generated.h"
#endif
#endif // NVIM_VIML_EXECUTOR_CONVERTER_H

View File

@ -20,8 +20,8 @@
#include "nvim/undo.h"
#include "nvim/ascii.h"
#include "nvim/viml/executor/executor.h"
#include "nvim/viml/executor/converter.h"
#include "nvim/lua/executor.h"
#include "nvim/lua/converter.h"
typedef struct {
Error err;
@ -29,8 +29,8 @@ typedef struct {
} LuaError;
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "viml/executor/vim_module.generated.h"
# include "viml/executor/executor.c.generated.h"
# include "lua/vim_module.generated.h"
# include "lua/executor.c.generated.h"
#endif
/// Name of the run code for use in messages

View File

@ -20,6 +20,6 @@ void nlua_add_api_functions(lua_State *lstate) REAL_FATTR_NONNULL_ALL;
} while (0)
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "viml/executor/executor.h.generated.h"
# include "lua/executor.h.generated.h"
#endif
#endif // NVIM_VIML_EXECUTOR_EXECUTOR_H