diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2022-04-27 19:13:32 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2022-04-27 19:13:32 -0400 |
| commit | e5c0d09893401b82855872d4f150a0acf56d76d4 (patch) | |
| tree | 41019f1460d4b12179e4a5bfd1c3629af978ad7f /Lua/lbp.c | |
| parent | 8b88c1784ebd5b379a71ae6a0c1ae7356660fb3c (diff) | |
Added printmatch
Diffstat (limited to 'Lua/lbp.c')
| -rw-r--r-- | Lua/lbp.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -21,6 +21,7 @@ #include "../pattern.h" #include "../match.h" +#include "../printmatch.h" static const char *builtins_source = ( #include "builtins.h" @@ -245,9 +246,10 @@ static int Lpat_tostring(lua_State *L) static int Lpat_gc(lua_State *L) { - pat_t **at_pat = lua_touserdata(L, 1); - pat_t *pat = *at_pat; - if (pat) delete_pat(at_pat, true); + (void)L; + // pat_t **at_pat = lua_touserdata(L, 1); + // pat_t *pat = *at_pat; + // if (pat) delete_pat(at_pat, true); return 0; } |
