refactor: combine regexp files

regext_bt.c and regexp_nfa.c are inlined into regexp.c instead of
included as a header. This makes developer tools like clang-tidy and
clangd be able to understand the code better.
This commit is contained in:
dundargoc
2023-11-04 12:25:50 +01:00
committed by dundargoc
parent 92e99bb105
commit 4d757bbfbb
7 changed files with 13273 additions and 13319 deletions

View File

@@ -17,12 +17,8 @@
#define REX_USE 2 ///< to allow \z\1 et al.
#define REX_ALL (REX_SET | REX_USE)
// regexp.c
// uncrustify:off
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "regexp.h.generated.h"
# include "regexp_bt.h.generated.h"
#endif
// uncrustify:on
#endif // NVIM_REGEXP_H