diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 01:59:03 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 01:59:03 -0400 |
| commit | 31649edc7777e9cf6098cc7bf780f2f963b26d33 (patch) | |
| tree | aa8b280492b18d31144cfae1320a146028315b1e /Lua/lbp.c | |
| parent | 59c5470adeb99da30dfd9d45a6035ec0936b29f3 (diff) | |
Add some fixes and compiler flags
Diffstat (limited to 'Lua/lbp.c')
| -rw-r--r-- | Lua/lbp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,6 +22,7 @@ #include "../pattern.h" #include "../match.h" #include "../printmatch.h" +#include "../utils.h" static const char *builtins_source = ( #include "builtins.h" @@ -369,7 +370,7 @@ static const luaL_Reg bp_methods[] = { {NULL, NULL} }; -LUALIB_API int luaopen_bp(lua_State *L) +public LUALIB_API int luaopen_bp(lua_State *L) { maybe_pat_t maybe_pat = bp_pattern(builtins_source, builtins_source+strlen(builtins_source)); if (!maybe_pat.success) { |
